CVE-2022-27008

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-27008
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27008.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-27008
Published
2022-04-14T15:15:08.207Z
Modified
2025-11-20T12:06:11.467954Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

nginx njs 0.7.2 is vulnerable to Buffer Overflow. Type confused in Array.prototype.concat() when a slow array appended element is fast array.

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

[
    {
        "target": {
            "file": "src/test/njs_unit_test.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2022-27008-1dc9d0ab",
        "digest": {
            "line_hashes": [
                "286191045354529882396740339644735296472",
                "316780131915622020408303156242938990206",
                "181382248073213818382603782539801578146"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/nginx/njs/commit/e673ae41a998d1391bd562edb2ed6d49db7cc716"
    },
    {
        "target": {
            "file": "src/njs_array.c",
            "function": "njs_array_expand"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2022-27008-7352925d",
        "digest": {
            "length": 927.0,
            "function_hash": "83705897729495263705284045029005404880"
        },
        "source": "https://github.com/nginx/njs/commit/e673ae41a998d1391bd562edb2ed6d49db7cc716"
    },
    {
        "target": {
            "file": "src/njs_array.c",
            "function": "njs_array_prototype_concat"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2022-27008-7bd205ac",
        "digest": {
            "length": 2079.0,
            "function_hash": "60624386110504712699579016151394775546"
        },
        "source": "https://github.com/nginx/njs/commit/e673ae41a998d1391bd562edb2ed6d49db7cc716"
    },
    {
        "target": {
            "file": "src/njs_array.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2022-27008-f5ae3ac1",
        "digest": {
            "line_hashes": [
                "48241974990846658713313821784833087175",
                "255892893843865148440688413348679083444",
                "38328431894080283965435394860074998608",
                "148660513481489026456076781025019725824",
                "195848396845944515574882684204123083977",
                "180341844466080205318362789255831835170",
                "143960762337730777257097786448965919329",
                "49696200087777734619665511529601056911",
                "122705887846865894578818938490005853615"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/nginx/njs/commit/e673ae41a998d1391bd562edb2ed6d49db7cc716"
    }
]