GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

OESA-2023-1931 (CVE-2021-23159)

Vulnerability from osv_openeuler – Published: 2023-12-15 11:06 – Updated: 2026-08-06 11:06 – Source website
VLAI
Summary
sox security update
Details

SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files, and, as an added bonus, SoX can play and record audio files on most platforms.

Security Fix(es):

A vulnerability was found in SoX, where a heap-buffer-overflow occurs in function lsx_read_w_buf() in formats_i.c file. The vulnerability is exploitable with a crafted file, that could cause an application to crash.(CVE-2021-23159)

A vulnerability was found in SoX, where a heap-buffer-overflow occurs in function startread() in hcom.c file. The vulnerability is exploitable with a crafted hcomn file, that could cause an application to crash.(CVE-2021-23172)

A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.(CVE-2021-23210)

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.(CVE-2021-33844)

A floating point exception vulnerability was found in sox, in the lsx_aiffstartwrite function at sox/src/aiff.c:622:58. This flaw can lead to a denial of service.(CVE-2023-26590)

A floating point exception vulnerability was found in sox, in the read_samples function at sox/src/voc.c:334:18. This flaw can lead to a denial of service.(CVE-2023-32627)

A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.(CVE-2023-34318)

A heap buffer overflow vulnerability was found in sox, in the lsx_readbuf function at sox/src/formats_i.c:98:16. This flaw can lead to a denial of service, code execution, or information disclosure.(CVE-2023-34432)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "sox-debugsource-14.4.2.0-29.oe1.aarch64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe1.aarch64.rpm",
          "sox-devel-14.4.2.0-29.oe1.aarch64.rpm",
          "sox-14.4.2.0-29.oe1.aarch64.rpm"
        ],
        "noarch": [
          "sox-help-14.4.2.0-29.oe1.noarch.rpm"
        ],
        "src": [
          "sox-14.4.2.0-29.oe1.src.rpm"
        ],
        "x86_64": [
          "sox-debuginfo-14.4.2.0-29.oe1.x86_64.rpm",
          "sox-devel-14.4.2.0-29.oe1.x86_64.rpm",
          "sox-14.4.2.0-29.oe1.x86_64.rpm",
          "sox-debugsource-14.4.2.0-29.oe1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP1",
        "name": "sox",
        "purl": "pkg:rpm/openEuler/sox\u0026distro=openEuler-20.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "14.4.2.0-29.oe1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "sox-debugsource-14.4.2.0-29.oe1.aarch64.rpm",
          "sox-devel-14.4.2.0-29.oe1.aarch64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe1.aarch64.rpm",
          "sox-14.4.2.0-29.oe1.aarch64.rpm"
        ],
        "noarch": [
          "sox-help-14.4.2.0-29.oe1.noarch.rpm"
        ],
        "src": [
          "sox-14.4.2.0-29.oe1.src.rpm"
        ],
        "x86_64": [
          "sox-debugsource-14.4.2.0-29.oe1.x86_64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe1.x86_64.rpm",
          "sox-devel-14.4.2.0-29.oe1.x86_64.rpm",
          "sox-14.4.2.0-29.oe1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP3",
        "name": "sox",
        "purl": "pkg:rpm/openEuler/sox\u0026distro=openEuler-20.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "14.4.2.0-29.oe1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "sox-devel-14.4.2.0-29.oe2203.aarch64.rpm",
          "sox-14.4.2.0-29.oe2203.aarch64.rpm",
          "sox-debugsource-14.4.2.0-29.oe2203.aarch64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe2203.aarch64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe2203sp1.aarch64.rpm",
          "sox-14.4.2.0-29.oe2203sp1.aarch64.rpm",
          "sox-debugsource-14.4.2.0-29.oe2203sp1.aarch64.rpm",
          "sox-devel-14.4.2.0-29.oe2203sp1.aarch64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe2203sp2.aarch64.rpm",
          "sox-14.4.2.0-29.oe2203sp2.aarch64.rpm",
          "sox-devel-14.4.2.0-29.oe2203sp2.aarch64.rpm",
          "sox-debugsource-14.4.2.0-29.oe2203sp2.aarch64.rpm"
        ],
        "noarch": [
          "sox-help-14.4.2.0-29.oe2203.noarch.rpm",
          "sox-help-14.4.2.0-29.oe2203sp1.noarch.rpm",
          "sox-help-14.4.2.0-29.oe2203sp2.noarch.rpm"
        ],
        "src": [
          "sox-14.4.2.0-29.oe2203.src.rpm",
          "sox-14.4.2.0-29.oe2203sp1.src.rpm",
          "sox-14.4.2.0-29.oe2203sp2.src.rpm"
        ],
        "x86_64": [
          "sox-devel-14.4.2.0-29.oe2203.x86_64.rpm",
          "sox-14.4.2.0-29.oe2203.x86_64.rpm",
          "sox-debugsource-14.4.2.0-29.oe2203.x86_64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe2203.x86_64.rpm",
          "sox-debugsource-14.4.2.0-29.oe2203sp1.x86_64.rpm",
          "sox-devel-14.4.2.0-29.oe2203sp1.x86_64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe2203sp1.x86_64.rpm",
          "sox-14.4.2.0-29.oe2203sp1.x86_64.rpm",
          "sox-devel-14.4.2.0-29.oe2203sp2.x86_64.rpm",
          "sox-debugsource-14.4.2.0-29.oe2203sp2.x86_64.rpm",
          "sox-14.4.2.0-29.oe2203sp2.x86_64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe2203sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS",
        "name": "sox",
        "purl": "pkg:rpm/openEuler/sox\u0026distro=openEuler-22.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "14.4.2.0-29.oe2203sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "sox-debuginfo-14.4.2.0-29.oe2203sp1.aarch64.rpm",
          "sox-14.4.2.0-29.oe2203sp1.aarch64.rpm",
          "sox-debugsource-14.4.2.0-29.oe2203sp1.aarch64.rpm",
          "sox-devel-14.4.2.0-29.oe2203sp1.aarch64.rpm"
        ],
        "noarch": [
          "sox-help-14.4.2.0-29.oe2203sp1.noarch.rpm"
        ],
        "src": [
          "sox-14.4.2.0-29.oe2203sp1.src.rpm"
        ],
        "x86_64": [
          "sox-debugsource-14.4.2.0-29.oe2203sp1.x86_64.rpm",
          "sox-devel-14.4.2.0-29.oe2203sp1.x86_64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe2203sp1.x86_64.rpm",
          "sox-14.4.2.0-29.oe2203sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP1",
        "name": "sox",
        "purl": "pkg:rpm/openEuler/sox\u0026distro=openEuler-22.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "14.4.2.0-29.oe2203sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "sox-debuginfo-14.4.2.0-29.oe2203sp2.aarch64.rpm",
          "sox-14.4.2.0-29.oe2203sp2.aarch64.rpm",
          "sox-devel-14.4.2.0-29.oe2203sp2.aarch64.rpm",
          "sox-debugsource-14.4.2.0-29.oe2203sp2.aarch64.rpm"
        ],
        "noarch": [
          "sox-help-14.4.2.0-29.oe2203sp2.noarch.rpm"
        ],
        "src": [
          "sox-14.4.2.0-29.oe2203sp2.src.rpm"
        ],
        "x86_64": [
          "sox-devel-14.4.2.0-29.oe2203sp2.x86_64.rpm",
          "sox-debugsource-14.4.2.0-29.oe2203sp2.x86_64.rpm",
          "sox-14.4.2.0-29.oe2203sp2.x86_64.rpm",
          "sox-debuginfo-14.4.2.0-29.oe2203sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP2",
        "name": "sox",
        "purl": "pkg:rpm/openEuler/sox\u0026distro=openEuler-22.03-LTS-SP2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "14.4.2.0-29.oe2203sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files, and, as an added bonus, SoX can play and record audio files on most platforms.\r\n\r\nSecurity Fix(es):\r\n\r\nA vulnerability was found in SoX, where a heap-buffer-overflow occurs in function lsx_read_w_buf() in formats_i.c file. The vulnerability is exploitable with a crafted file, that could cause an application to crash.(CVE-2021-23159)\r\n\r\nA vulnerability was found in SoX, where a heap-buffer-overflow occurs in function startread() in hcom.c file. The vulnerability is exploitable with a crafted hcomn file, that could cause an application to crash.(CVE-2021-23172)\r\n\r\nA floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.(CVE-2021-23210)\r\n\r\nA floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.(CVE-2021-33844)\r\n\r\nA floating point exception vulnerability was found in sox, in the lsx_aiffstartwrite function at sox/src/aiff.c:622:58. This flaw can lead to a denial of service.(CVE-2023-26590)\r\n\r\nA floating point exception vulnerability was found in sox, in the read_samples function at sox/src/voc.c:334:18. This flaw can lead to a denial of service.(CVE-2023-32627)\r\n\r\nA heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.(CVE-2023-34318)\r\n\r\nA heap buffer overflow vulnerability was found in sox, in the lsx_readbuf function at sox/src/formats_i.c:98:16. This flaw can lead to a denial of service, code execution, or information disclosure.(CVE-2023-34432)",
  "id": "OESA-2023-1931",
  "modified": "2026-08-06T11:06:22Z",
  "published": "2023-12-15T11:06:22Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1931"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23159"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23172"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23210"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-33844"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26590"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32627"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34318"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34432"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "sox security update",
  "upstream": [
    "CVE-2021-23159",
    "CVE-2021-23172",
    "CVE-2021-23210",
    "CVE-2021-33844",
    "CVE-2023-26590",
    "CVE-2023-32627",
    "CVE-2023-34318",
    "CVE-2023-34432"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…