We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2023-3401

Improper Control of Generation of Code ('Code Injection') in GitLab



Description

An issue has been discovered in GitLab affecting all versions before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. The main branch of a repository with a specially designed name allows an attacker to create repositories with malicious code.

Reserved 2023-06-26 | Published 2023-08-02 | Updated 2024-09-18 | Assigner GitLab


MEDIUM: 4.8CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

Default status
unaffected

Any version before 16.0.8
affected

16.1.0 before 16.1.3
affected

16.2.0 before 16.2.2
affected

Credits

Thanks [st4nly0n](https://hackerone.com/st4nly0n) for reporting this vulnerability through our HackerOne bug bounty program finder

References

gitlab.com/gitlab-org/gitlab/-/issues/416252 (GitLab Issue #416252) issue-tracking

hackerone.com/reports/2031845 (HackerOne Bug Bounty Report #2031845) technical-description exploit permissions-required

cve.org (CVE-2023-3401)

nvd.nist.gov (CVE-2023-3401)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2023-3401

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.