CVE-2022-31307: Nginx NJS - Denial of Service
- Cve: CVE-2022-31307
- Name: Nginx NJS - Denial of Service
- Description: Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_string_offset at src/njs_string.c.
- Impact: Attackers can cause denial of service by triggering segmentation faults, disrupting service availability.
- Remediation: Update to the latest version of NJS where this issue is fixed.
- Vulnerability type: null_pointer_dereference
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.00671
- Epss percentile: 0.52985
- Assignee: [email protected]
- Published at: 2022-06-21T13:15:08Z
- Age in days: 1617
- Modified at: 2026-06-17T04:45:17Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31307
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/nginx/njs/issues/482 | nvd | 2022-06-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/nginx/njs/commit/eafe4c7a326b163612f10861392622b5da5b1792 | nvd | Patch, Third Party Advisory |
| https://github.com/nginx/njs/issues/482 | nvd | Exploit, Issue Tracking, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| f5:njs | = 0.7.2 | no | nvd | /v1/products/f5/njs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nginx/njs | commit, fix, issues | yes | /v1/repositories/nginx/njs |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-06-21
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts