openstack/octavia · Security
Openstack Octavia Access Control Vulnerability
- GHSA ID
- GHSA-jjgh-m322-fjx6
- CVE ID
- CVE-2019-3895
- Severity
- medium
- Published
- Updated
- CVSS
- 5.5 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- CVSS v3
- 5.5 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- CVSS v4
- 5.1 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
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:
- Update Octavia's configuration setting (octavia.conf) to
amp_image_owner_id = $UUID_OF_SERVICE_PROJECTon all Octavia nodes. - Enable the new configuration by restarting both
octavia_workerandoctavia_health_manager.
CWEs
- CWE-284 · Improper Access Control
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-3895 ↗
- https://access.redhat.com/errata/RHSA-2019:1683 ↗
- https://access.redhat.com/errata/RHSA-2019:1742 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3895 ↗
- https://github.com/openstack/octavia/commit/d7d062a47ab54a540d81f13a0e5f3085ebfaa0d2 ↗
- https://github.com/openstack/tripleo-common/commit/e7c5eab712e0f70ecbc6d225d4766e0fe0f3f884 ↗
- https://bugs.launchpad.net/octavia/+bug/1620629 ↗
- https://bugs.launchpad.net/tripleo/+bug/1830607 ↗
- https://github.com/openstack/octavia/blob/08570831754d9671fbd1756d668f55f191e47ca4/octavia/compute/drivers/nova_driver.py#L35 ↗
- https://opendev.org/openstack/octavia/commit/d7d062a47ab54a540d81f13a0e5f3085ebfaa0d2 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/octavia/PYSEC-2019-194.yaml ↗
- https://github.com/advisories/GHSA-jjgh-m322-fjx6 ↗