{"id":"CVE-2022-30503","details":"Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_set_number at src/njs_value.h.","modified":"2026-08-12T13:32:31.158697Z","published":"2022-05-27T13:13:50Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30503.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30503.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30503"},{"type":"REPORT","url":"https://github.com/nginx/njs/issues/478"},{"type":"FIX","url":"https://github.com/nginx/njs/commit/5c6130a2a0b4c41ab415f6b8992aa323636338b9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nginx/njs","events":[{"introduced":"50bb20a814c3c82b662c999630ce91ff068e3e48"},{"fixed":"5c6130a2a0b4c41ab415f6b8992aa323636338b9"}],"database_specific":{"extracted_events":[{"introduced":"0.7.2"},{"last_affected":"0.7.2"}],"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:nginx:njs:0.7.2:*:*:*:*:*:*:*"}}],"versions":["0.7.2","0.7.3"],"database_specific":{"vanir_signatures_modified":"2026-08-12T13:32:31Z","vanir_signatures":[{"target":{"file":"src/test/njs_unit_test.c"},"deprecated":false,"digest":{"line_hashes":["269307360359906164227509844969023970427","73964031036998612562824075350744065887","81516037292844004054212306030631948268"],"threshold":0.9},"id":"CVE-2022-30503-262c5738","signature_type":"Line","signature_version":"v1","source":"https://github.com/nginx/njs/commit/5c6130a2a0b4c41ab415f6b8992aa323636338b9"},{"deprecated":false,"digest":{"line_hashes":["197526393789611519117003139884995288831","268208807913610108091203853336429963996","109616958944482711933294377669159559653","31814066729279049804744398992867610723"],"threshold":0.9},"id":"CVE-2022-30503-47d0cd9b","signature_type":"Line","signature_version":"v1","source":"https://github.com/nginx/njs/commit/5c6130a2a0b4c41ab415f6b8992aa323636338b9","target":{"file":"src/njs_typed_array.c"}},{"signature_version":"v1","source":"https://github.com/nginx/njs/commit/5c6130a2a0b4c41ab415f6b8992aa323636338b9","target":{"file":"src/njs_typed_array.c","function":"njs_typed_array_set_value"},"deprecated":false,"digest":{"function_hash":"34224554353672427835364207457400331020","length":390},"id":"CVE-2022-30503-74e634c3","signature_type":"Function"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30503.json"}}],"schema_version":"1.9.0"}