GitHub Advisoryadvisory · PyPI
GHSA-jjgh-m322-fjx6 Openstack Octavia Access Control Vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2019-3895
- Ecosystem
- PyPI
- Packages
- octavia
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-284
- Reviewed
- 2024-02-23
Affected packages
• PyPI octavia: < 0.9.0 → fixed in 0.9.0
Description
Description
An access-control flaw was found in the Octavia service when the cloud platform was deployed using Red Hat OpenStack Platform Director. An attacker could cause new amphorae to run based on any arbitrary image. This meant that a remote attacker could upload a new amphorae image and, if requested to spawn new amphorae, Octavia would then pick up the compromised image.
Mitigation
To prevent this vulnerability:
1. Update Octavia's configuration setting (octavia.conf) to `amp_image_owner_id = $UUID_OF_SERVICE_PROJECT` on all Octavia nodes.
2. Enable the new configuration by restarting both `octavia_worker` and `octavia_health_manager`.
Related
Alias · CVE (1)
- CVE-2019-3895 An access-control flaw was found in the Octavia service when the cloud platform was deployed using Red Hat OpenStack Platform Director. vulnerability
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-3895 advisory
- https://github.com/openstack/octavia/commit/d7d062a47ab54a540d81f13a0e5f3085ebfaa0d2 web
- https://github.com/openstack/tripleo-common/commit/e7c5eab712e0f70ecbc6d225d4766e0fe0f3f884 web
- https://access.redhat.com/errata/RHSA-2019:1683 web
- https://access.redhat.com/errata/RHSA-2019:1742 web
- https://bugs.launchpad.net/octavia/+bug/1620629 web
- https://bugs.launchpad.net/tripleo/+bug/1830607 web
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3895 web
- https://github.com/openstack/octavia package
- https://github.com/openstack/octavia/blob/08570831754d9671fbd1756d668f55f191e47ca4/octavia/compute/drivers/nova_driver.py#L35 web
- https://github.com/pypa/advisory-database/tree/main/vulns/octavia/PYSEC-2019-194.yaml web
- https://opendev.org/openstack/octavia/commit/d7d062a47ab54a540d81f13a0e5f3085ebfaa0d2 web