CVE-2021-39940
Last modified
CVE-2021-39940 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.2 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2. GitLab Maven Package registry is vulnerable to a regular expression denial of service when a specifically crafted string is sent.. EPSS estimates a 1.46% chance of exploitation in the next 30 days.
Description
An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.2 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2. GitLab Maven Package registry is vulnerable to a regular expression denial of service when a specifically crafted string is sent.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitlab | Gitlab | >= 13.2.0, < 14.3.6 |
| Gitlab | Gitlab | >= 14.4.0, < 14.4.4 |
| Gitlab | Gitlab | >= 14.5.0, < 14.5.2 |
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39940.jsonThird Party Advisory
- https://hackerone.com/reports/997961Permissions Required, Third Party Advisory
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39940.jsonThird Party Advisory
- https://hackerone.com/reports/997961Permissions Required, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-39940?
How severe is CVE-2021-39940?
How do I fix CVE-2021-39940?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-39935An issue has been discovered in GitLab CE/EE affecting all v…7.5
- CVE-2021-39936Improper access control in GitLab CE/EE affecting all versio…4.3
- CVE-2021-39937A collision in access memoization logic in all versions of G…8.8
- CVE-2021-39938A vulnerable regular expression pattern in GitLab CE/EE sinc…6.5
- CVE-2021-39939An uncontrolled resource consumption vulnerability in GitLab…6.5
- CVE-2021-3994django-helpdesk is vulnerable to Improper Neutralization of …9.6
- CVE-2021-39941An information disclosure vulnerability in GitLab CE/EE vers…5.3
- CVE-2021-39942A denial of service vulnerability in GitLab CE/EE affecting …6.5
- CVE-2021-39943An authorization logic error in the External Status Check AP…4.3
- CVE-2021-39944An issue has been discovered in GitLab CE/EE affecting all v…7.1
- CVE-2021-39945Improper access control in the GitLab CE/EE API affecting al…2.7
- CVE-2021-39946Improper neutralization of user input in GitLab CE/EE versio…5.4
Are you affected by CVE-2021-39940?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
