CVE-2022-1341

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-1341
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1341.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-1341
Downstream
Published
2022-04-18T17:15:16.440Z
Modified
2025-11-14T12:46:01.312745Z
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

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

References

Affected packages

Git / github.com/vgropp/bwm-ng

Affected ranges

Type
GIT
Repo
https://github.com/vgropp/bwm-ng
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.5
v0.6
v0.6.1

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "id": "CVE-2022-1341-7f1dca17",
        "target": {
            "file": "src/options.c",
            "function": "get_cmdln_options"
        },
        "digest": {
            "length": 5778.0,
            "function_hash": "199287973129033820329140778647609810073"
        },
        "source": "https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17",
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "id": "CVE-2022-1341-d68bbde7",
        "target": {
            "file": "src/options.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "218282018402069029596095150502544554143",
                "160357573094354365226081590725144969052",
                "119370900379015941146484630960050389004",
                "114747357190512186525051559672108298066"
            ]
        },
        "source": "https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17",
        "deprecated": false
    }
]