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