Bug 2217806 - CVE-2023-36664 ghostscript: vulnerable to OS command injection due to mishandles permission validation for pipe devices [fedora-38]
Summary: CVE-2023-36664 ghostscript: vulnerable to OS command injection due to mishand...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 38
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Michael J Gruber
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2182090
Blocks: CVE-2023-36664
TreeView+ depends on / blocked
 
Reported: 2023-06-27 06:48 UTC by Sandipan Roy
Modified: 2023-11-15 04:25 UTC (History)
7 users (show)

Fixed In Version: ghostscript-10.01.2-1.fc38 ghostscript-10.01.2-1.fc39
Clone Of:
Environment:
Last Closed: 2023-07-16 01:25:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sandipan Roy 2023-06-27 06:48:30 UTC
More information about this security flaw is available in the following bug:

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

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 Sandipan Roy 2023-06-27 06:48:32 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=2217798,2217806

# 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 Christian Stadelmann 2023-07-14 07:53:20 UTC
According to common IT media and the people who found this CVE, the CVSS score is 9.8, i.e., very high. It would be important to get this fixed.

@QA: Since there is no news from the assignee, would it be possible to get someone else to jump in?

The new hotness already tried a scratch build, see bug #2182090.

Comment 3 Michael J Gruber 2023-07-14 08:23:17 UTC
(In reply to Christian Stadelmann from comment #2)
> According to common IT media and the people who found this CVE, the CVSS
> score is 9.8, i.e., very high. It would be important to get this fixed.
> 
> @QA: Since there is no news from the assignee, would it be possible to get
> someone else to jump in?
> 
> The new hotness already tried a scratch build, see bug #2182090.

That is the scratch build for 10.01.2, and the security bug claimed the bug to be present through that version. Apparantly that is wrong.

I have commit rights for gs@fed but do not consider myself a maintainer, so I refrain from from version updates. But upstream has a backport for 10.01.1 so I'll check whether it's just a backport of the fix, or also of the fix to the fix ... This would be good for rawhide+f38.

F37 is at gs 9.56, though. 9.55->9.56 was not exactly smooth, and bumping F37 to 10.01.1 would quite something I'm afraid.

Comment 4 Michael J Gruber 2023-07-14 08:36:14 UTC
OK, checked. We have 10.01.0 only in Fedora ... But 10.01.2 is purely a bugfix release, containing a fix for this CVE (and a fix for the fix) and some other bugfixes. So I'll go with this one. PR upcoming.

Comment 5 Fedora Update System 2023-07-14 09:39:41 UTC
FEDORA-2023-b240ebd9aa has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b240ebd9aa

Comment 6 Fedora Update System 2023-07-14 12:16:27 UTC
FEDORA-2023-d8a1c3e5e2 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d8a1c3e5e2

Comment 7 Fedora Update System 2023-07-15 01:32:42 UTC
FEDORA-2023-d8a1c3e5e2 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-2023-d8a1c3e5e2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d8a1c3e5e2

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

Comment 8 Fedora Update System 2023-07-16 01:25:53 UTC
FEDORA-2023-d8a1c3e5e2 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2023-07-16 14:09:57 UTC
FEDORA-2023-b240ebd9aa has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Christian Stadelmann 2023-07-17 10:31:48 UTC
Thank you very very much, Michael J Gruber!

Comment 11 Red Hat Bugzilla 2023-11-15 04:25:16 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.