CVE-2022-30503

Source
https://cve.org/CVERecord?id=CVE-2022-30503
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30503.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-30503
Published
2022-05-27T13:13:50Z
Modified
2026-07-22T02:24:54.348060Z
Summary
[none]
Details

Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njssetnumber at src/njs_value.h.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30503.json"
}
References

Affected packages

Git / github.com/nginx/njs

Affected ranges

Type
GIT
Repo
https://github.com/nginx/njs
Events
Database specific
{
    "cpe": "cpe:2.3:a:nginx:njs:0.7.2:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.7.2"
        },
        {
            "last_affected": "0.7.2"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.7.2
0.7.3

Database specific

vanir_signatures_modified
"2026-07-22T02:24:54Z"
vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "269307360359906164227509844969023970427",
                "73964031036998612562824075350744065887",
                "81516037292844004054212306030631948268"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/nginx/njs/commit/5c6130a2a0b4c41ab415f6b8992aa323636338b9",
        "id": "CVE-2022-30503-262c5738",
        "target": {
            "file": "src/test/njs_unit_test.c"
        }
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "197526393789611519117003139884995288831",
                "268208807913610108091203853336429963996",
                "109616958944482711933294377669159559653",
                "31814066729279049804744398992867610723"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/nginx/njs/commit/5c6130a2a0b4c41ab415f6b8992aa323636338b9",
        "id": "CVE-2022-30503-47d0cd9b",
        "target": {
            "file": "src/njs_typed_array.c"
        }
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 390.0,
            "function_hash": "34224554353672427835364207457400331020"
        },
        "signature_version": "v1",
        "source": "https://github.com/nginx/njs/commit/5c6130a2a0b4c41ab415f6b8992aa323636338b9",
        "id": "CVE-2022-30503-74e634c3",
        "target": {
            "function": "njs_typed_array_set_value",
            "file": "src/njs_typed_array.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30503.json"