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-08-12T12:49:15.979215Z
Summary
[none]
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1341.json",
    "cna_assigner": "redhat"
}
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
{
    "cpe": "cpe:2.3:a:bwm-ng_project:bwm-ng:0.6.2:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.6.2"
        },
        {
            "last_affected": "0.6.2"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

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

Database specific

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