CVE-2022-29780

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-29780
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-29780.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-29780
Published
2022-06-02T14:15:51.203Z
Modified
2025-11-21T23:05:59.034873Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njsarrayprototypesort at src/njsarray.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
0.7.3

Database specific

vanir_signatures

[
    {
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "2459148794103460067000374371055097824",
                "332081292240997286013317186778808803899",
                "194138110155237145561461537659488551990",
                "174343670055361046507783332477973745764"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/njs_array.c"
        },
        "id": "CVE-2022-29780-8cdfc028",
        "source": "https://github.com/nginx/njs/commit/8b39afdad9a0761e0a5d4af1a762bd9a6daef572"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Function",
        "digest": {
            "function_hash": "296216193124120347072886895605404634582",
            "length": 3486.0
        },
        "target": {
            "file": "src/njs_array.c",
            "function": "njs_array_prototype_sort"
        },
        "id": "CVE-2022-29780-b7f762da",
        "source": "https://github.com/nginx/njs/commit/8b39afdad9a0761e0a5d4af1a762bd9a6daef572"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "219220501315876606668552869201752052253",
                "31636488167524796923062838973946412024",
                "325388722141891829759312154668856764593"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/test/njs_unit_test.c"
        },
        "id": "CVE-2022-29780-d568898e",
        "source": "https://github.com/nginx/njs/commit/8b39afdad9a0761e0a5d4af1a762bd9a6daef572"
    }
]