Out-of-bounds Write Affecting zbar package, versions <0.23.93-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.29% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE321-ZBAR-8490255
  • published6 Dec 2024
  • disclosed29 Aug 2023

Introduced: 29 Aug 2023

CVE-2023-40889  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 zbar to version 0.23.93-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zbar package and not the zbar package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

A heap-based buffer overflow exists in the qr_reader_match_centers function of ZBar 0.23.90. Specially crafted QR codes may lead to information disclosure and/or arbitrary code execution. To trigger this vulnerability, an attacker can digitally input the malicious QR code, or prepare it to be physically scanned by the vulnerable scanner.

CVSS Scores

version 3.1