CVE-2021-30219

Source
https://cve.org/CVERecord?id=CVE-2021-30219
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30219.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-30219
Downstream
Related
Published
2021-04-29T15:15:11.077Z
Modified
2026-07-08T21:26:44.505543Z
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

samurai 1.2 has a NULL pointer dereference in printstatus() function in build.c via a crafted build file.

References

Affected packages

Git / github.com/michaelforney/samurai

Affected ranges

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

Affected versions

1.*
1.2

Database specific

vanir_signatures
[
    {
        "source": "https://github.com/michaelforney/samurai/commit/d2af3bc375e2a77139c3a28d6128c60cd8d08655",
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "54327318497400993001744768343799013010",
                "146708319991151949053394641764995968820",
                "280762253713018158585482907350382401939",
                "331326332397065022764821773974391269021"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2021-30219-38fd520a",
        "target": {
            "file": "parse.c"
        }
    },
    {
        "source": "https://github.com/michaelforney/samurai/commit/d2af3bc375e2a77139c3a28d6128c60cd8d08655",
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "197834605864670500068911964551872969404",
            "length": 714.0
        },
        "deprecated": false,
        "id": "CVE-2021-30219-6f9f7514",
        "target": {
            "function": "parserule",
            "file": "parse.c"
        }
    }
]
vanir_signatures_modified
"2026-07-08T21:26:44Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30219.json"