Bug 2345712

Summary: CVE-2025-25184 rubygem-rack: Possible Log Injection in Rack::CommonLogger [fedora-41]
Product: [Fedora] Fedora Reporter: Avinash Hanwate <ahanwate>
Component: rubygem-rackAssignee: Vít Ondruch <vondruch>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 41CC: jaruga, pvalena, ruby-packagers-sig, tdawson, vondruch
Target Milestone: ---Keywords: Reopened, Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["73beb525-ad87-4dcd-bd1f-dac1725e9b33"]}
Fixed In Version: rubygem-rack-2.2.21-1.fc41 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-13 01:22:29 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: 2345301    

Description Avinash Hanwate 2025-02-14 11:48:29 UTC
More information about this security flaw is available in the following bug:

https://bugzilla.redhat.com/show_bug.cgi?id=2345301

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 Vít Ondruch 2025-02-17 15:43:58 UTC
@Avinash could you please doublecheck why @pvalena is assignee of this ticket when he is not related to this package for ~4 months already?

~~~
$ curl https://src.fedoraproject.org/api/0/rpms/rubygem-rack | grep pvalena
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   918  100   918    0     0   1599      0 --:--:-- --:--:-- --:--:--  1602


$ curl https://src.fedoraproject.org/api/0/rpms/rubygem-rack 
{
  "access_groups": {
    "admin": [], 
    "collaborator": [], 
    "commit": [
      "ruby-packagers-sig"
    ], 
    "ticket": []
  }, 
  "access_users": {
    "admin": [], 
    "collaborator": [
      "tdawson"
    ], 
    "commit": [], 
    "owner": [
      "vondruch"
    ], 
    "ticket": []
  }, 
  "close_status": [], 
  "custom_keys": [], 
  "date_created": "1501874613", 
  "date_modified": "1727778646", 
  "description": "The rubygem-rack rpms", 
  "full_url": "https://src.fedoraproject.org/rpms/rubygem-rack", 
  "fullname": "rpms/rubygem-rack", 
  "id": 20697, 
  "milestones": {}, 
  "name": "rubygem-rack", 
  "namespace": "rpms", 
  "parent": null, 
  "priorities": {}, 
  "tags": [], 
  "url_path": "rpms/rubygem-rack", 
  "user": {
    "full_url": "https://src.fedoraproject.org/user/vondruch", 
    "fullname": "V\u00edt Ondruch", 
    "name": "vondruch", 
    "url_path": "user/vondruch"
  }
}
~~~

Comment 3 Vít Ondruch 2025-07-10 14:39:36 UTC
(In reply to Vít Ondruch from comment #1)
> @Avinash could you please doublecheck why @pvalena is assignee of this
> ticket when he is not related to this package for ~4 months already?

As it turns out, there was override in https://src.fedoraproject.org/rpms/rubygem-rack

Comment 4 Fedora Update System 2025-11-04 17:49:33 UTC
FEDORA-2025-a35addbf9b (rubygem-rack-2.2.21-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-a35addbf9b

Comment 5 Fedora Update System 2025-11-05 04:17:18 UTC
FEDORA-2025-a35addbf9b has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-a35addbf9b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-a35addbf9b

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

Comment 6 Fedora Update System 2025-11-13 01:22:29 UTC
FEDORA-2025-a35addbf9b (rubygem-rack-2.2.21-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.