Vulnerabilities in pkg:pypi/aubio

PACKAGE
Advisory Identifier: GHSA-vcwx-8mqh-2557
Advisory Summary

CVE-2017-17054 is a HIGH (CVSS 5.5) remote code execution vulnerability (CWE-369: Divide By Zero) affecting Aubio libraries in the PyPI ecosystem. The issue involves aubio divide-by-zero dos vulnerability in new_aubio_source_wavread function. Remediation is available by upgrading affected packages to version 0.4.7.

8 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/aubio

8 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/aubio. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vcwx-8mqh-2557 CVE-2017-17054 HIGH Aubio Divide-By-Zero DoS vulnerability in new_aubio_source_wavread function
GHSA-7vvr-h4p5-m7fh CVE-2018-19801 HIGH Aubio is vulnerable to a NULL pointer dereference in new_aubio_filterbank
GHSA-rcv6-7hmv-fj7h CVE-2018-14521 HIGH Aubio is vulnerable to denial of service via aubio_source_avcodec_readframe function
GHSA-45h5-cqqw-9rjw CVE-2017-17554 MODERATE Aubio is vulnerable to a NULL pointer dereference
GHSA-g7g8-mx45-x4c8 CVE-2018-14522 HIGH Aubio is vulnerable to denial of service via aubio_pitch_set_unit function
GHSA-grmf-4fq6-2r79 CVE-2018-19800 CRITICAL aubio Buffer Overflow vulnerability
GHSA-3x58-8qmv-wqw5 CVE-2018-14523 HIGH Aubio is vulnerable to out of bound read when samplerate > 50kHz
GHSA-c6jq-h4jp-72pr CVE-2018-19802 HIGH Aubio is vulnerable to a NULL pointer dereference in new_aubio_notes function

CVE-2017-17054 at a Glance

CVE Identifier CVE-2017-17054
GHSA Identifier GHSA-vcwx-8mqh-2557
Severity HIGH
CVSS v3.1 Base Score 5.5
CWE Classification CWE-369: Divide By Zero
Affected Product Aubio
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2017-17054

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.

aubio fixed: 0.4.7
pip install aubio>=0.4.7
Verify Direct and Transitive Dependencies

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-2017-17054, 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-369: Divide By Zero, where the product divides a value by zero. 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

In aubio 0.4.6, a divide-by-zero error exists in the function `new_aubio_source_wavread()` in source_wavread.c, which may lead to DoS when playing a crafted audio file.

CVE-2017-17054 Affected Aubio Versions

1 component(s)
Fixed Versions:
0.4.7
Product / Package Ecosystem Affected Versions Fixed Version
aubio
PyPI
< 0.4.7
0.4.7

References

Frequently Asked Questions

What is CVE-2017-17054?
CVE-2017-17054 is a security vulnerability in Aubio involving Aubio Divide-By-Zero DoS vulnerability in new_aubio_source_wavread function under CWE-369: Divide By Zero.
Which Aubio versions are affected?
Affected versions include releases prior to 0.4.7 across affected packages: aubio.
What version fixes CVE-2017-17054?
Upgrading to 0.4.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aubio affected?
Yes, aubio is affected in releases prior to 0.4.7. Upgrade your dependency to 0.4.7 or later.
What is the CVSS score of CVE-2017-17054?
CVE-2017-17054 has a CVSS v3.1 base score of 5.5 (HIGH) with vector string CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2017-17054?
CVE-2017-17054 is classified under CWE-369: Divide By Zero (The product divides a value by zero.).
How can I check PyPI dependencies for CVE-2017-17054?
Run the dependency tree command: 'pip show aubio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vcwx-8mqh-2557",
  "modified" : "2024-11-18T16:26:22Z",
  "published" : "2022-05-17T00:14:14Z",
  "aliases" : [ "CVE-2017-17054" ],
  "summary" : "Aubio Divide-By-Zero DoS vulnerability in new_aubio_source_wavread function",
  "details" : "In aubio 0.4.6, a divide-by-zero error exists in the function `new_aubio_source_wavread()` in source_wavread.c, which may lead to DoS when playing a crafted audio file.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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-2017-17054"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aubio/aubio/issues/148"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aubio/aubio/commit/25ecb7338cebc5b8c79092347839c78349ec33f1"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883355"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aubio/aubio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/aubio/PYSEC-2017-75.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-369" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-04T21:52:41Z",
    "nvd_published_at" : "2017-11-29T07:29:00Z"
  }
}