Upstream information

CVE-2021-42716 at MITRE

Description

An issue was discovered in stb stb_image.h 2.27. The PNM loader incorrectly interpreted 16-bit PGM files as 8-bit when converting to RGBA, leading to a buffer overflow when later reinterpreting the result as a 16-bit buffer. An attacker could potentially have crashed a service using stb_image, or read up to 1024 bytes of non-consecutive heap data without control over the read location.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5.8
Vector AV:N/AC:M/Au:N/C:P/I:N/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 7.1
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Access Vector Local
Access Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact High
Integrity Impact None
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1191944 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Desktop 12 SP5
SUSE Linux Enterprise Workstation Extension 12 SP5
  • libZXing1 >= 1.2.0-8.6.1
Patchnames:
SUSE-SLE-WE-12-SP5-2022-163
SUSE Linux Enterprise Desktop 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Linux Enterprise Workstation Extension 15 SP3
  • libZXing1 >= 1.2.0-9.7.1
  • zxing-cpp-devel >= 1.2.0-9.7.1
Patchnames:
SUSE-SLE-Product-WE-15-SP3-2022-157
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Linux Enterprise Workstation Extension 15 SP4
  • libZXing1 >= 1.2.0-9.7.1
Patchnames:
SUSE Linux Enterprise Workstation Extension 15 SP4 GA libZXing1-1.2.0-9.7.1
SUSE Linux Enterprise Module for Package Hub 15 SP3
  • libZXing1 >= 1.2.0-9.7.1
  • zxing-cpp-devel >= 1.2.0-9.7.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP3-2022-157
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • libZXing1 >= 1.2.0-8.6.1
  • zxing-cpp-devel >= 1.2.0-8.6.1
Patchnames:
SUSE-SLE-SDK-12-SP5-2022-163
SUSE-SLE-WE-12-SP5-2022-163
SUSE Linux Enterprise Software Development Kit 12 SP5
  • libZXing1 >= 1.2.0-8.6.1
  • zxing-cpp-devel >= 1.2.0-8.6.1
Patchnames:
SUSE-SLE-SDK-12-SP5-2022-163
SUSE Package Hub 15 SP3
  • stb-devel >= 2.32.1549563867.59e9702-bp153.2.3.1
Patchnames:
openSUSE-2022-18
openSUSE Leap 15.3
  • libZXing1 >= 1.2.0-9.7.1
  • stb-devel >= 2.32.1549563867.59e9702-bp153.2.3.1
  • zxing-cpp-devel >= 1.2.0-9.7.1
Patchnames:
openSUSE-2022-18
openSUSE-SLE-15.3-2022-157
openSUSE Leap 15.4
  • libZXing1 >= 1.2.0-9.7.1
Patchnames:
openSUSE Leap 15.4 GA libZXing1-1.2.0-9.7.1
openSUSE Tumbleweed
  • libZXing1 >= 1.2.0-2.1
  • libZXing1-32bit >= 1.2.0-2.1
  • zxing-cpp-devel >= 1.2.0-2.1
Patchnames:
openSUSE Tumbleweed GA libZXing1-1.2.0-2.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise Desktop 12 SP5 zxing-cpp Released
SUSE Linux Enterprise Desktop 15 SP2 zxing-cpp In progress
SUSE Linux Enterprise Desktop 15 SP3 zxing-cpp Released
SUSE Linux Enterprise Server 12 SP5 zxing-cpp Released
SUSE Linux Enterprise Server 15 SP2 zxing-cpp In progress
SUSE Linux Enterprise Server 15 SP3 zxing-cpp Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 zxing-cpp Released
SUSE Linux Enterprise Server for SAP Applications 15 SP2 zxing-cpp In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP3 zxing-cpp Released
SUSE Linux Enterprise Software Development Kit 12 SP5 zxing-cpp Released
SUSE Linux Enterprise Workstation Extension 12 SP5 zxing-cpp Released
SUSE Linux Enterprise Workstation Extension 15 SP2 zxing-cpp In progress
SUSE Linux Enterprise Workstation Extension 15 SP3 zxing-cpp Released
SUSE Package Hub 15 SP3 zxing-cpp Released