Bug 2573904 (CVE-2026-118389) - CVE-2026-118389 gitea: gitea: Arbitrary dependency installation via newline injection in RubyGems package registry
Summary: CVE-2026-118389 gitea: gitea: Arbitrary dependency installation via newline i...
Keywords:
Status: NEW
Alias: CVE-2026-118389
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-16 21:47 UTC by OSIDB Bzimport
Modified: 2026-11-16 23:51 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-16 21:47:35 UTC
The RubyGems package registry accepted gems whose platform, dependency names or dependency version requirements contain newline characters. Because the compact index served to clients is line-based, a user who can publish a gem to an owner's registry could forge index entries, such as packages that do not exist or additional versions of an existing gem with dependencies of their choice. Clients that resolve gems from that registry could then be led to install attacker-chosen dependencies. Gems with such metadata are now rejected.


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