Bug 2262019

Summary: CVE-2024-1019 libmodsecurity: WAF bypass for path-based payloads [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Patrick Del Bello <pdelbell>
Component: libmodsecurityAssignee: Mikel Olasagasti Uranga <mikel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: epel8CC: dridi.boukelmoune, jered, mikel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libmodsecurity-3.0.12-1.fc40 libmodsecurity-3.0.12-1.el8 libmodsecurity-3.0.12-1.el9 libmodsecurity-3.0.12-1.el7 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-11 19:15:11 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: 2262017    

Description Patrick Del Bello 2024-01-30 22:42:07 UTC
More information about this security flaw is available in the following bug:

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

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 Patrick Del Bello 2024-01-30 22:42:09 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=2262017,2262019

# 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 Jered Floyd 2024-02-11 15:46:34 UTC
@mikel Is this something I can help you co-maintain?  I use ModSecurity "at home" and would like to get this CVE addressed (rather than running my own Copr build).  Let me know if thre's anything I can do.

Comment 3 Fedora Update System 2024-02-11 19:14:12 UTC
FEDORA-2024-2314613d77 (libmodsecurity-3.0.12-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-2314613d77

Comment 4 Fedora Update System 2024-02-11 19:15:11 UTC
FEDORA-2024-2314613d77 (libmodsecurity-3.0.12-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Mikel Olasagasti Uranga 2024-02-11 19:18:48 UTC
(In reply to Jered Floyd from comment #2)
> @mikel Is this something I can help you co-maintain?  I use ModSecurity "at
> home" and would like to get this CVE addressed (rather than running my own
> Copr build).  Let me know if thre's anything I can do.

Sorry it took this long, been busy with other stuff.

Next time feel free to ping me (bz, matrix, RH internal slack) or to submit a PR if you want to accelerate the fix.

Comment 6 Fedora Update System 2024-02-11 19:30:22 UTC
FEDORA-EPEL-2024-4a6bba707d (libmodsecurity-3.0.12-1.el7) has been submitted as an update to Fedora EPEL 7.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-4a6bba707d

Comment 7 Fedora Update System 2024-02-11 19:30:23 UTC
FEDORA-EPEL-2024-4d3eb328e3 (libmodsecurity-3.0.12-1.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-4d3eb328e3

Comment 8 Fedora Update System 2024-02-12 02:01:59 UTC
FEDORA-EPEL-2024-4d3eb328e3 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-4d3eb328e3

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

Comment 9 Fedora Update System 2024-02-12 02:11:40 UTC
FEDORA-EPEL-2024-2f82caee80 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-2f82caee80

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

Comment 10 Fedora Update System 2024-02-12 02:20:55 UTC
FEDORA-EPEL-2024-4a6bba707d has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-4a6bba707d

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

Comment 11 Fedora Update System 2024-02-20 00:33:48 UTC
FEDORA-EPEL-2024-4d3eb328e3 (libmodsecurity-3.0.12-1.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2024-02-20 00:53:44 UTC
FEDORA-EPEL-2024-2f82caee80 (libmodsecurity-3.0.12-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2024-02-20 01:09:50 UTC
FEDORA-EPEL-2024-4a6bba707d (libmodsecurity-3.0.12-1.el7) has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.