CVE-2022-1341

Source
https://cve.org/CVERecord?id=CVE-2022-1341
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1341.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1341
Downstream
Published
2022-04-18T16:20:34Z
Modified
2026-10-28T10:28:34Z
Summary
[none]
Details

An issue was discovered in in bwm-ng v0.6.2. An arbitrary null write exists in get_cmdln_options() function in src/options.c.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1341.json"
}
References

Affected packages

Git / github.com/vgropp/bwm-ng

Affected ranges

Type
GIT
Repo
https://github.com/vgropp/bwm-ng
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "bwm-ng v0.6.2"
                },
                {
                    "last_affected": "bwm-ng v0.6.2"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "fixed": "9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.6.2
bwm-ng v0.*
bwm-ng v0.6.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1341.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "199287973129033820329140778647609810073",
            "length": 5778
        },
        "id": "CVE-2022-1341-7f1dca17",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17",
        "target": {
            "file": "src/options.c",
            "function": "get_cmdln_options"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "218282018402069029596095150502544554143",
                "160357573094354365226081590725144969052",
                "119370900379015941146484630960050389004",
                "114747357190512186525051559672108298066"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-1341-d68bbde7",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17",
        "target": {
            "file": "src/options.c"
        }
    }
]
vanir_signatures_modified
"2026-10-28T10:28:34Z"