Vulnerability Details : CVE-2022-31307
Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_string_offset at src/njs_string.c.
Products affected by CVE-2022-31307
- cpe:2.3:a:f5:njs:0.7.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-31307
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 21 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-31307
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2022-31307
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-31307
-
https://github.com/nginx/njs/commit/eafe4c7a326b163612f10861392622b5da5b1792
Fixed Array.prototype.lastIndexOf() with unicode string as "this". · nginx/njs@eafe4c7 · GitHubPatch;Third Party Advisory
-
https://github.com/nginx/njs/issues/482
SEGV njs_string.c:2535:18 in njs_string_offset · Issue #482 · nginx/njs · GitHubExploit;Issue Tracking;Third Party Advisory
Jump to