Vulnerabilities in pkg:pypi/octavia
PACKAGECVE-2019-3895 is a MODERATE (CVSS 5.5) openstack octavia access control vulnerability vulnerability (CWE-284: Improper Access Control) affecting Octavia libraries in the PyPI ecosystem. The issue involves openstack octavia access control vulnerability. Remediation is available by upgrading affected packages to version 0.9.0.
pkg:pypi/octavia
Vulnerability advisories affecting package pkg:pypi/octavia. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jjgh-m322-fjx6 | CVE-2019-3895 | MODERATE | Openstack Octavia Access Control Vulnerability |
| GHSA-qcj3-h27m-mp9x | CVE-2018-16856 | HIGH | Openstack Octavia allows Insertion of Sensitive Information into Log File |
| GHSA-r4v4-3jj7-jc29 | CVE-2019-17134 | CRITICAL | OpenStack Octavia Amphora-Agent not requiring Client-Certificate |
CVE-2019-3895 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L).
How to Fix CVE-2019-3895
To remediate this vulnerability, upgrade all affected Octavia dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install octavia>=0.9.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show octavia
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2019-3895, inspect your installed packages using pip:
pip show octavia
Analyze the terminal output to locate any version of Octavia in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.0), your application is affected.
Note: The pip show octavia command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Octavia, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-3895 Affected Octavia Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
octavia
|
PyPI |
< 0.9.0
|
0.9.0
|
References
Frequently Asked Questions
What is CVE-2019-3895?
Which Octavia versions are affected?
What version fixes CVE-2019-3895?
Is octavia affected?
What is the CVSS score of CVE-2019-3895?
What CWE is associated with CVE-2019-3895?
How can I check PyPI dependencies for CVE-2019-3895?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jjgh-m322-fjx6",
"modified" : "2024-10-08T12:49:03Z",
"published" : "2022-05-24T16:47:03Z",
"aliases" : [ "CVE-2019-3895" ],
"summary" : "Openstack Octavia Access Control Vulnerability",
"details" : "### Description\nAn 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.\n\n### Mitigation\nTo prevent this vulnerability:\n1. Update Octavia's configuration setting (octavia.conf) to `amp_image_owner_id = $UUID_OF_SERVICE_PROJECT` on all Octavia nodes.\n2. Enable the new configuration by restarting both `octavia_worker` and `octavia_health_manager`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "octavia"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-3895"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/octavia/commit/d7d062a47ab54a540d81f13a0e5f3085ebfaa0d2"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/tripleo-common/commit/e7c5eab712e0f70ecbc6d225d4766e0fe0f3f884"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:1683"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:1742"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/octavia/+bug/1620629"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/tripleo/+bug/1830607"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3895"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/octavia"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/octavia/blob/08570831754d9671fbd1756d668f55f191e47ca4/octavia/compute/drivers/nova_driver.py#L35"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/octavia/PYSEC-2019-194.yaml"
}, {
"type" : "WEB",
"url" : "https://opendev.org/openstack/octavia/commit/d7d062a47ab54a540d81f13a0e5f3085ebfaa0d2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-23T20:36:33Z",
"nvd_published_at" : "2019-06-03T19:29:00Z"
}
}