Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njsstringoffset at src/njs_string.c.
[
{
"id": "CVE-2022-31307-1f6846bf",
"target": {
"function": "njs_object_iterate_reverse",
"file": "src/njs_iterator.c"
},
"signature_version": "v1",
"source": "https://github.com/nginx/njs/commit/eafe4c7a326b163612f10861392622b5da5b1792",
"signature_type": "Function",
"digest": {
"function_hash": "103444818782418243579072543539988804643",
"length": 2727.0
},
"deprecated": false
},
{
"id": "CVE-2022-31307-6ec364fd",
"target": {
"file": "src/njs_iterator.c"
},
"signature_version": "v1",
"source": "https://github.com/nginx/njs/commit/eafe4c7a326b163612f10861392622b5da5b1792",
"signature_type": "Line",
"digest": {
"line_hashes": [
"31332087060590309975530342363338135404",
"81384505419341664089187724240160896991",
"279086156151675448253248787254774324798",
"229719608985720382728834512096249842775",
"307488796212254766280894295833538516605",
"102801281721691388712997364811092385682"
],
"threshold": 0.9
},
"deprecated": false
},
{
"id": "CVE-2022-31307-9585d335",
"target": {
"file": "src/test/njs_unit_test.c"
},
"signature_version": "v1",
"source": "https://github.com/nginx/njs/commit/eafe4c7a326b163612f10861392622b5da5b1792",
"signature_type": "Line",
"digest": {
"line_hashes": [
"270962405635539349045306700829155569547",
"46702355503848243507095770144150209238",
"322332007203446702768211235095523626994"
],
"threshold": 0.9
},
"deprecated": false
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31307.json"
"2026-04-12T02:56:48Z"