CVE-2022-31306

Source
https://cve.org/CVERecord?id=CVE-2022-31306
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31306.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31306
Published
2022-06-21T12:57:30Z
Modified
2026-08-12T13:32:31Z
Summary
[none]
Details

Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_array_convert_to_slow_array at src/njs_array.c.

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

Affected packages

Git / github.com/nginx/njs

Affected ranges

Type
GIT
Repo
https://github.com/nginx/njs
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:f5: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

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31306.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "339780529824448762995081143268585307509",
                "307618025260381001810494025737045594026",
                "172528107696331865071435248872457299656"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2022-31306-28554a97",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/nginx/njs/commit/81af26364c21c196dd21fb5e14c7fa9ce7debd17",
        "target":  {
            "file":  "src/njs_array.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "215556108678597644341992690666548962217",
            "length":  534
        },
        "id":  "CVE-2022-31306-4b4f7ba4",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/nginx/njs/commit/81af26364c21c196dd21fb5e14c7fa9ce7debd17",
        "target":  {
            "file":  "src/njs_array.c",
            "function":  "njs_array_convert_to_slow_array"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "190712008055766476213710584150190909322",
                "278877165799828088263803208765066226626",
                "22499050152622226168925891562274199600"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2022-31306-fb559019",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/nginx/njs/commit/81af26364c21c196dd21fb5e14c7fa9ce7debd17",
        "target":  {
            "file":  "src/test/njs_unit_test.c"
        }
    }
]
vanir_signatures_modified
"2026-08-12T13:32:31Z"