CVE-2021-42716

Published on: 10/21/2021 12:00:00 AM UTC

Last Modified on: 11/26/2021 08:59:00 PM UTC

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Certain versions of Fedora from Fedoraproject contain the following vulnerability:

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.

  • CVE-2021-42716 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as CRITICAL severity.

CVSS3 Score: 9.1 - CRITICAL

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH NONE HIGH

CVSS2 Score: 6.4 - MEDIUM

Access
Vector
Access
Complexity
Authentication
NETWORK LOW NONE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
PARTIAL NONE PARTIAL

CVE References

Description Tags Link
stbi__pnm_load heap-buffer-overflow bug · Issue #1166 · nothings/stb · GitHub github.com
text/html
URL Logo MISC github.com/nothings/stb/issues/1166
[SECURITY] Fedora 34 Update: sdrpp-1.0.4-3.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2021-3fc69d203c
Fixes a crash and an infinite loop in stb_image that could occur with specially constructed PGM and HDR files by NeilBickford-NV · Pull Request #1223 · nothings/stb · GitHub github.com
text/html
URL Logo MISC github.com/nothings/stb/pull/1223
[SECURITY] Fedora 35 Update: stb-0-0.7.20211022gitaf1a5bc.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2021-d1446cd1ac
In stb_image's PNM reader, loading a specially constructed valid 16-bit PGM file with 4 channels can cause a crash due to an out-of-bounds read · Issue #1225 · nothings/stb · GitHub github.com
text/html
URL Logo MISC github.com/nothings/stb/issues/1225
[SECURITY] Fedora 34 Update: stb-0-0.7.20211022gitaf1a5bc.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2021-082bea5b34
[SECURITY] Fedora 33 Update: stb-0-0.7.20211022gitaf1a5bc.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2021-0511a38484
[SECURITY] Fedora 35 Update: CuraEngine-4.11.0-2.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2021-16d848834d
[SECURITY] Fedora 35 Update: usd-21.08-17.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2021-001f25d986
[SECURITY] Fedora 34 Update: CuraEngine-4.11.0-2.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2021-8ea648186c
[SECURITY] Fedora 35 Update: sdrpp-1.0.4-3.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2021-f8ba4a690e

Related QID Numbers

  • 282023 Fedora Security Update for stb (FEDORA-2021-0511a38484)
  • 282024 Fedora Security Update for stb (FEDORA-2021-082bea5b34)
  • 282025 Fedora Security Update for sdrpp (FEDORA-2021-3fc69d203c)
  • 282029 Fedora Security Update for CuraEngine (FEDORA-2021-8ea648186c)
  • 751640 SUSE Enterprise Linux Security Update for zxing-cpp (SUSE-SU-2022:0163-1)
  • 751643 OpenSUSE Security Update for zxing-cpp (openSUSE-SU-2022:0157-1)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
Operating
System
FedoraprojectFedora33AllAllAll
Operating
System
FedoraprojectFedora34AllAllAll
Operating
System
FedoraprojectFedora35AllAllAll
ApplicationNothingsStb Image.h2.27AllAllAll
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*:
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*:
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*:
  • cpe:2.3:a:nothings:stb_image.h:2.27:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2021-42716 : An issue was discovered in stb stb_image.h 2.27. The PNM loader incorrectly interpreted 16-bit PGM… twitter.com/i/web/status/1… 2021-10-21 19:10:39
Twitter Icon @SecRiskRptSME RT: CVE-2021-42716 An issue was discovered in stb stb_image.h 2.27. The PNM loader incorrectly interpreted 16-bit… twitter.com/i/web/status/1… 2021-10-22 07:33:49
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report