Bug 2279451 (CVE-2024-34069)

Summary: CVE-2024-34069 python-werkzeug: user may execute code on a developer's machine
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: amctagga, aoconnor, apevec, aprice, bdettelb, bniver, caswilli, dfreiber, doconnor, drow, eglynn, flucifre, gmeno, gtanzill, hkataria, jburrell, jdobes, jjoyce, jsamir, jschluet, kaycoth, kholdawa, kshier, lcouzens, lhh, lsvaty, mbenjamin, mburns, mgarciac, mhackett, mminar, mpierce, mskarbek, njohnston, orabin, pgrist, rbiba, rhos-maint, scohen, sidakwo, sostapov, sskracic, sthirugn, teagle, vereddy, vkrizan, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-werkzeug 3.0.3 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Werkzeug, where an attacker may be able to execute code on a developer's machine under some circumstances. This issue requires the attacker to get the developer to interact with a domain and subdomain they control and enter the debugger PIN; if they are successful, it allows access to the debugger even if it is only running on localhost. This also requires the attacker to guess a URL in the developer's application that will trigger the debugger.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2279452, 2279453, 2279454, 2279455, 2279456, 2279457, 2279458, 2279460, 2279651, 2279652, 2279653, 2279654, 2279655, 2279657, 2279658, 2279659, 2279660, 2279661, 2279662, 2279663, 2279664, 2279665, 2279666, 2279667, 2279668, 2279669, 2279670, 2279671, 2279672, 2307994    
Bug Blocks: 2279459    

Description Rohit Keshri 2024-05-07 05:36:46 UTC
Werkzeug is a comprehensive WSGI web application library. The debugger in affected versions of Werkzeug can allow an attacker to execute code on a developer's machine under some circumstances. This requires the attacker to get the developer to interact with a domain and subdomain they control, and enter the debugger PIN, but if they are successful it allows access to the debugger even if it is only running on localhost. This also requires the attacker to guess a URL in the developer's application that will trigger the debugger. This vulnerability is fixed in 3.0.3.

https://github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692
https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985

Comment 1 Rohit Keshri 2024-05-07 05:40:57 UTC
Created mingw-python-werkzeug tracking bugs for this issue:

Affects: fedora-all [bug 2279454]


Created mote tracking bugs for this issue:

Affects: epel-7 [bug 2279453]


Created python-werkzeug tracking bugs for this issue:

Affects: fedora-all [bug 2279455]


Created python3-werkzeug tracking bugs for this issue:

Affects: epel-7 [bug 2279452]

Comment 5 Anten Skrabec 2024-05-07 21:23:44 UTC
Created cascadia-code-fonts tracking bugs for this issue:

Affects: fedora-38 [bug 2279651]


Created mingw-python-werkzeug tracking bugs for this issue:

Affects: fedora-38 [bug 2279653]


Created ndiscover-exo-2-fonts tracking bugs for this issue:

Affects: fedora-38 [bug 2279652]


Created oraculum tracking bugs for this issue:

Affects: fedora-38 [bug 2279654]

Comment 6 Anten Skrabec 2024-05-07 21:25:29 UTC
Created python-httpcore tracking bugs for this issue:

Affects: fedora-38 [bug 2279655]

Comment 10 Anten Skrabec 2024-05-07 21:53:43 UTC
Created python-werkzeug tracking bugs for this issue:

Affects: fedora-38 [bug 2279660]

Comment 11 Anten Skrabec 2024-05-07 21:54:00 UTC
Created cascadia-code-fonts tracking bugs for this issue:

Affects: fedora-39 [bug 2279661]

Comment 12 Anten Skrabec 2024-05-07 21:54:20 UTC
Created ndiscover-exo-2-fonts tracking bugs for this issue:

Affects: fedora-39 [bug 2279662]

Comment 13 Anten Skrabec 2024-05-07 21:54:39 UTC
Created oraculum tracking bugs for this issue:

Affects: fedora-39 [bug 2279663]

Comment 14 Anten Skrabec 2024-05-07 21:54:58 UTC
Created python-httpcore tracking bugs for this issue:

Affects: fedora-39 [bug 2279664]

Comment 15 Anten Skrabec 2024-05-07 21:55:19 UTC
Created cascadia-code-fonts tracking bugs for this issue:

Affects: fedora-40 [bug 2279665]

Comment 16 Anten Skrabec 2024-05-07 21:55:39 UTC
Created google-roboto-mono-fonts tracking bugs for this issue:

Affects: fedora-40 [bug 2279666]

Comment 17 Anten Skrabec 2024-05-07 21:56:04 UTC
Created ndiscover-exo-2-fonts tracking bugs for this issue:

Affects: fedora-40 [bug 2279667]

Comment 18 Anten Skrabec 2024-05-07 21:56:23 UTC
Created oraculum tracking bugs for this issue:

Affects: fedora-40 [bug 2279668]

Comment 19 Anten Skrabec 2024-05-07 21:56:42 UTC
Created python-httpcore tracking bugs for this issue:

Affects: fedora-40 [bug 2279669]

Comment 32 Brian Lane 2024-05-08 18:17:40 UTC
I've looked into backporting this to python-werkzeug-0.12.2 on RHEL8 and the changes look pretty straightforward. But I'm not sure how much of a priority this should be, it sounds difficult to trigger since it requires developer interaction to enter the PIN, and since RHEL8 is now at 8.10 I'm not sure this is worth fixing.

Comment 33 errata-xmlrpc 2024-08-13 09:55:05 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.16

Via RHSA-2024:5107 https://access.redhat.com/errata/RHSA-2024:5107

Comment 35 errata-xmlrpc 2024-08-29 03:17:20 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.12
  Ironic content for Red Hat OpenShift Container Platform 4.12

Via RHSA-2024:5810 https://access.redhat.com/errata/RHSA-2024:5810

Comment 38 errata-xmlrpc 2024-09-05 06:30:19 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.15

Via RHSA-2024:6016 https://access.redhat.com/errata/RHSA-2024:6016

Comment 39 errata-xmlrpc 2024-11-21 09:26:25 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 17.1 for RHEL 8

Via RHSA-2024:9975 https://access.redhat.com/errata/RHSA-2024:9975

Comment 40 errata-xmlrpc 2024-11-21 09:27:58 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 17.1 for RHEL 9

Via RHSA-2024:9976 https://access.redhat.com/errata/RHSA-2024:9976

Comment 41 errata-xmlrpc 2024-12-02 15:54:08 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.2

Via RHSA-2024:10696 https://access.redhat.com/errata/RHSA-2024:10696

Comment 43 errata-xmlrpc 2025-06-23 02:17:52 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 7.1

Via RHSA-2025:9340 https://access.redhat.com/errata/RHSA-2025:9340