Bug 2278402

Summary: CVE-2023-47212 stb: stb_vorbis.c comment heap-based buffer overflow vulnerability [fedora-all]
Product: [Fedora] Fedora Reporter: Robb Gatica <rgatica>
Component: stbAssignee: Ben Beasley <code>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 40CC: code, mhroncok
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: stb-0^20240213gitae721c5-6.fc40 stb-0^20240213gitae721c5-5.fc38 stb-0^20240213gitae721c5-6.fc39 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-11 01:29:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2278401    

Description Robb Gatica 2024-05-01 20:11:50 UTC
More information about this security flaw is available in the following bug:

http://bugzilla.redhat.com/show_bug.cgi?id=2278401

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Robb Gatica 2024-05-01 20:11:52 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# low, medium, high, urgent (required)
severity=high

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2278401,2278402

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Ben Beasley 2024-05-01 23:22:16 UTC
Last I checked, nothing was actually using the stb_vorbis-devel subpackage. However, the issue is easily understood and easily patched.

There are several PR’s open upstream that purport to fix this CVE; I favor https://github.com/nothings/stb/pull/1559 as the cleanest.

Note that the same issue was previously assigned GHSL-2023-171/CVE-2023-45681.

Comment 3 Fedora Update System 2024-05-02 13:01:48 UTC
FEDORA-2024-8f4d69d2ec (stb-0^20240213gitae721c5-6.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8f4d69d2ec

Comment 4 Fedora Update System 2024-05-02 13:35:21 UTC
FEDORA-2024-4c8d4cda0d (stb-0^20240213gitae721c5-6.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-4c8d4cda0d

Comment 5 Fedora Update System 2024-05-02 13:52:22 UTC
FEDORA-2024-5e5d8c2581 (stb-0^20240213gitae721c5-5.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e5d8c2581

Comment 6 Fedora Update System 2024-05-03 02:24:43 UTC
FEDORA-2024-4c8d4cda0d has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4c8d4cda0d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4c8d4cda0d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-05-03 03:11:38 UTC
FEDORA-2024-8f4d69d2ec has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8f4d69d2ec`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8f4d69d2ec

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-05-03 03:56:45 UTC
FEDORA-2024-5e5d8c2581 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5e5d8c2581`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e5d8c2581

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-05-11 01:29:52 UTC
FEDORA-2024-8f4d69d2ec (stb-0^20240213gitae721c5-6.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-05-11 01:36:46 UTC
FEDORA-2024-5e5d8c2581 (stb-0^20240213gitae721c5-5.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2024-05-11 02:21:41 UTC
FEDORA-2024-4c8d4cda0d (stb-0^20240213gitae721c5-6.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.