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.
Metrics
Affected Vendors & Products
References
History
Mon, 16 Nov 2026 23:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Sun, 15 Nov 2026 23:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gitea
Gitea gitea |
|
| Vendors & Products |
Gitea
Gitea gitea |
Sun, 15 Nov 2026 21:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Gitea RubyGems compact index injection through package metadata | |
| Weaknesses | CWE-74 | |
| References |
|
Status: PUBLISHED
Assigner: Gitea
Published: 2026-11-15T21:13:39.832Z
Updated: 2026-11-16T22:47:18.501Z
Reserved: 2026-11-15T20:29:37.637Z
Link: CVE-2026-118389
No data.
Status : Deferred
Published: 2026-11-15T22:17:17.350
Modified: 2026-11-16T23:17:13.890
Link: CVE-2026-118389
No data.