Software Bill of Materials (SBOM) & Supply Chain Inventory¶
Audit snapshot
Captured: 30 Oct 2026, live from odoo-production-vm (GCP odoo-495606, asia-east1-b).
Scope: Production (rewards.cpl.com.pg), Staging (angry-mad-smile.cpl.com.pg), Docs (docs.cpl.com.pg).
Re-run the audit commands in Section 7 to refresh it.
1. Infrastructure layer¶
| Component | Version | Notes |
|---|---|---|
| Cloud | Google Cloud Compute Engine | VM odoo-production-vm, admin access through IAP tunnel + Twingate |
| Host OS | Ubuntu 22.04.5 LTS, kernel 6.8.0-1066-gcp |
0 pending host security updates |
| Container runtime | Docker Engine 29.1.3 |
|
| TLS certificates | Let's Encrypt | rewards.cpl.com.pg and angry-mad-smile.cpl.com.pg both valid until 18 Jan 2027 |
2. Container images¶
| Container | Image | Digest (short) | Base OS | Role |
|---|---|---|---|---|
odoo_nginx |
nginx:alpine (nginx 1.31.3) |
4a73073bd557 |
Alpine 3.24 | Public TLS reverse proxy, ports 80/443 |
odoo_web |
odoo:17.0 (build 17.0-20260630) |
f88f646a0f5f |
Ubuntu 22.04 | Production app server, Python 3.10.12 |
odoo_db |
postgres:15 (15.18) |
74e110c41804 |
Debian 13 | Production database, internal network only |
odoo_staging_web |
odoo:17.0 |
f88f646a0f5f |
Ubuntu 22.04 | Staging app server |
odoo_staging_db |
postgres:15 |
74e110c41804 |
Debian 13 | Staging database, internal network only |
twingate_connector |
twingate/connector:latest |
833e7a968f1b |
— | Zero-trust admin access |
Unused image on host
odoo:16.0 (13 months old) is still on the host but no container uses it. You can remove it with docker image rm odoo:16.0.
3. First-party CPL addons¶
All seven are installed on Production at the version shown.
| Module | Version | Purpose |
|---|---|---|
cpl_real_rewards_ui |
17.0.1.0.0 | Members, ledger (PS/PB/RD/RF), redemptions, quarantine, card replacements, tickets & KB |
real_rewards_importer |
17.0.1.0.0 | Pronto POS bulk ingestion (CSV / XLSX / ZIP), import lock, email telemetry |
real_rewards_loyalty |
17.0.1.0.0 | Maker-Checker points adjustments, points merge, POS order fixes |
real_rewards_api_mailer |
17.0.1.0 | Outbound email via Microsoft Graph API |
real_rewards_onboarding |
17.0.1.0 | Member registration and onboarding |
real_rewards_security |
17.0.1.0 | RBAC groups and security rules |
real_rewards_uat_automation |
17.0.1.0 | UAT helpers |
4. Python dependencies (odoo_web)¶
These are the key libraries that come with the odoo:17.0 image. Most are Ubuntu python3-* system packages, not pip installs.
Werkzeug 2.0.2 · gevent 21.8.0 · psycopg2 2.9.2 · cryptography 3.4.8 · pyOpenSSL 21.0.0 · passlib 1.7.4 · python-ldap 3.2.0 · lxml 4.8.0 · Jinja2 3.0.3 · Pillow 9.0.1 · reportlab 3.6.8 · PyPDF2 1.26.0 · requests 2.25.1 · urllib3 1.26.5 · zeep 4.1.0 · XlsxWriter 3.0.2 · xlrd 1.2.0 · certifi 2020.6.20 · plus wkhtmltopdf for PDF reports.
There are no PHP, Node.js or Java runtimes in any production container.
5. External supply chain and integrations¶
| Supplier / Service | How it is used | Direction |
|---|---|---|
| Microsoft Entra ID | Staff SSO (auth_oauth provider enabled) |
Inbound auth |
| Microsoft Graph API | System email from rrpsupport@cpl.com.pg |
Outbound |
| Odoo.com Accounts | Default Odoo OAuth provider (still enabled) | Inbound auth |
| Pronto Xi ERP | Staff upload CSV/XLSX exports manually | Manual file transfer |
| Docker Hub | Source of all container images (odoo, postgres, nginx, twingate) |
Build-time |
| Let's Encrypt | TLS certificates | Renewal |
Review the Odoo.com OAuth provider
If staff only sign in with Entra ID, disable the Odoo.com Accounts provider to remove an unneeded login path.
6. Vulnerability scan & hardening status (30 Oct 2026 — STG-TICK-049 / KB-049)¶
6.1 OS & System Packages (Remediated to 0 Pending Security Updates)¶
| Container / Host | Pre-Patch Pending Security Updates | Post-Patch Pending Security Updates (STG-TICK-049) |
Remediated Packages |
|---|---|---|---|
Host VM (odoo-production-vm) |
0 | 0 | — |
odoo_db / odoo_staging_db (postgres:15) |
0 | 0 | — |
odoo_web / odoo_staging_web (odoo:17.0) |
65 | 0 | openssl/libssl3 (3.0.2-0ubuntu1.30), libc6 (2.35-0ubuntu3.15), python3.10 (3.10.12-1~22.04.18), curl/libcurl4 (7.81.0-1ubuntu1.30), libexpat1 (2.4.7-1ubuntu0.9), libxml2 (2.9.13+dfsg-1ubuntu0.14), ca-certificates (20260816), plus Canonical CVE backports for python3-lxml, python3-pil, python3-requests, python3-urllib3, python3-idna, python3-pyasn1 |
odoo_nginx (nginx:alpine) |
24 | 0 | libssl3/libcrypto3 (3.5.9-r0), curl/libcurl (8.23.0-r0), libexpat (2.9.0-r0), nghttp2-libs (1.70.0-r0), pcre2 (10.49-r0), musl (1.2.6-r3), zlib (1.3.2-r1), ca-certificates (20261020-r0) |
6.2 Supply Chain Attack-Surface Reduction (STG-TICK-049)¶
- October 2026 PHP Core RCEs ("PHP2Shell" —
CVE-2026-109618,CVE-2026-109619,CVE-2026-115560): 100% Immune — Zero PHP runtimes exist onodoo-production-vmor inside any container. - Unused
Odoo.com AccountsOAuth Provider: Disabled (enabled = False) on both Staging and Production; only Microsoft Entra ID (@cpl.com.pg) and local credentials remain active. - Unused
odoo:16.0Container Image: Removed fromodoo-production-vm. - Canonical Backported Python Security Packages: Applied via
apt-get upgrade --only-upgrade(python3-lxml,python3-pil,python3-requests,python3-urllib3,python3-idna,python3-pyasn1) preserving 100% ABI compatibility with Odoo 17 (Werkzeug 2.0.2).
7. How to re-run this audit¶
# Image digests
sudo docker images --digests
# Pending OS security updates (read-only)
sudo docker exec -u root odoo_web sh -c 'apt-get update -qq && apt list --upgradable 2>/dev/null | grep -c security'
sudo docker exec odoo_nginx sh -c 'apk update -q && apk version -l "<"'
# Python advisories (run on a workstation, not in the container)
sudo docker exec odoo_web pip freeze > reqs.txt
python3 -m venv v && v/bin/pip install pip-audit && v/bin/pip-audit -r reqs.txt --no-deps --disable-pip
# Certificate expiry
sudo openssl x509 -enddate -noout -in /etc/letsencrypt/live/rewards.cpl.com.pg/fullchain.pem