Bug 1204980 - (CVE-2021-37789) VUL-0: CVE-2021-37789: stb: heap out of bounds read due to fractional resampling factors
(CVE-2021-37789)
VUL-0: CVE-2021-37789: stb: heap out of bounds read due to fractional resampl...
Status: NEW
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Security
Leap 15.4
Other Other
: P3 - Medium : Normal (vote)
: ---
Assigned To: Adrian Schröter
Security Team bot
https://smash.suse.de/issue/346931/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-11-02 16:48 UTC by Carlos López
Modified: 2022-11-02 17:15 UTC (History)
0 users

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos López 2022-11-02 16:48:39 UTC
CVE-2021-37789

stb_image.h 2.27 has a heap-based buffer over in stbi__jpeg_load, leading to
Information Disclosure or Denial of Service.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-37789
https://www.cve.org/CVERecord?id=CVE-2021-37789
https://github.com/nothings/stb/issues/1178
Comment 1 Carlos López 2022-11-02 16:53:52 UTC
Fix:
https://github.com/nothings/stb/commit/5ba0baaa269b3fd681828e0e3b3ac0f1472eaf40

Only openSUSE:Backports:SLE-15-SP3:Update/stb lacks the patch.