CVE-2018-14522: Aubio Denial of Service Vulnerability
HIGHCVE-2018-14522 is a HIGH (CVSS 8.8) denial of service vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Aubio libraries in the PyPI ecosystem. The issue involves aubio is vulnerable to denial of service via aubio_pitch_set_unit function. Remediation is available by upgrading affected packages to version 0.4.7.
CVE-2018-14522 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-14522
To remediate this vulnerability, upgrade all affected Aubio 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 aubio>=0.4.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show aubio
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2018-14522, inspect your installed packages using pip:
pip show aubio
Analyze the terminal output to locate any version of Aubio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.7), your application is affected.
Note: The pip show aubio command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Aubio, 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-2018-14522 Affected Aubio Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aubio
|
PyPI |
< 0.4.7
|
0.4.7
|
References
Frequently Asked Questions
What is CVE-2018-14522?
Which Aubio versions are affected?
What version fixes CVE-2018-14522?
Is aubio affected?
What is the CVSS score of CVE-2018-14522?
What CWE is associated with CVE-2018-14522?
How can I check PyPI dependencies for CVE-2018-14522?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g7g8-mx45-x4c8",
"modified" : "2024-09-04T20:54:06Z",
"published" : "2022-05-14T01:09:25Z",
"aliases" : [ "CVE-2018-14522" ],
"summary" : "Aubio is vulnerable to denial of service via aubio_pitch_set_unit function",
"details" : "An issue was discovered in aubio 0.4.6. A SEGV signal can occur in `aubio_pitch_set_unit` in `pitch/pitch.c`, as demonstrated by aubionotes.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "aubio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.4.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-14522"
}, {
"type" : "WEB",
"url" : "https://github.com/aubio/aubio/issues/188"
}, {
"type" : "WEB",
"url" : "https://github.com/aubio/aubio/commit/99c7aa2e3efec988a5f81018b48d9388ff24bba1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/aubio/aubio"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/aubio/PYSEC-2018-62.yaml"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00031.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00071.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-119" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-04T21:52:27Z",
"nvd_published_at" : "2018-07-23T08:29:00Z"
}
}