CVE-2022-28049

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-28049
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28049.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-28049
Published
2022-04-15T14:15:07.747Z
Modified
2025-11-20T12:03:44.055872Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

NGINX NJS 0.7.2 was discovered to contain a NULL pointer dereference via the component njsvmcodearray at /src/njs_vmcode.c.

References

Affected packages

Git / github.com/nginx/njs

Affected ranges

Type
GIT
Repo
https://github.com/nginx/njs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.1.10
0.1.11
0.1.12
0.1.13
0.1.14
0.1.15
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.8
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6
0.3.7
0.3.8
0.3.9
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.5.0
0.5.1
0.5.2
0.5.3
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.7.2

Database specific

vanir_signatures

[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "9377267118167365229505832544491307486",
                "29970220827004356682971917998289867578",
                "238797592912100748851190390963520861874",
                "127832424442740760489415098555024002640",
                "3212120587541932173212486345833266161",
                "39286889187378846998578732085958704618",
                "205081915744326660929531901405527843522",
                "294766206234032382222601840342149320257",
                "220010071858347038105721430227173623700",
                "139671978284284188210657282431762046166"
            ]
        },
        "source": "https://github.com/nginx/njs/commit/f65981b0b8fcf02d69a40bc934803c25c9f607ab",
        "id": "CVE-2022-28049-32df66a9",
        "signature_version": "v1",
        "target": {
            "file": "src/njs_vmcode.c"
        },
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "digest": {
            "function_hash": "304766567493603327196389522884897110500",
            "length": 475.0
        },
        "source": "https://github.com/nginx/njs/commit/f65981b0b8fcf02d69a40bc934803c25c9f607ab",
        "id": "CVE-2022-28049-bfe17204",
        "signature_version": "v1",
        "target": {
            "file": "src/njs_vmcode.c",
            "function": "njs_vmcode_array"
        },
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "15117651345907187282798790153806249899",
                "238853738105931232638586210688610072959",
                "329112596843107572737561569335794907890"
            ]
        },
        "source": "https://github.com/nginx/njs/commit/f65981b0b8fcf02d69a40bc934803c25c9f607ab",
        "id": "CVE-2022-28049-d8e76184",
        "signature_version": "v1",
        "target": {
            "file": "src/test/njs_unit_test.c"
        },
        "deprecated": false,
        "signature_type": "Line"
    }
]