Description
An issue was discovered in libredwg through v0.10.1.3751. bit_wcs2len() in bits.c has a heap-based buffer overflow.
Affected Software
{"id": "CVE-2021-39522", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-39522", "description": "An issue was discovered in libredwg through v0.10.1.3751. bit_wcs2len() in bits.c has a heap-based buffer overflow.", "published": "2021-09-20T16:15:00", "modified": "2021-09-24T20:37:00", "cvss": {"score": 6.8, "vector": "AV:N/AC:M/Au:N/C:P/I:P/A:P"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 6.8}, "severity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-39522", "reporter": "cve@mitre.org", "references": ["https://github.com/LibreDWG/libredwg/issues/255"], "cvelist": ["CVE-2021-39522"], "immutableFields": [], "lastseen": "2022-03-23T19:03:41", "viewCount": 14, "enchantments": {"dependencies": {}, "score": {"value": 3.7, "vector": "NONE"}, "backreferences": {}, "exploitation": null, "vulnersScore": 3.7}, "_state": {"dependencies": 0}, "_internal": {}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": ["cpe:/a:gnu:libredwg:0.10.1.3751"], "cpe23": ["cpe:2.3:a:gnu:libredwg:0.10.1.3751:*:*:*:*:*:*:*"], "cwe": ["CWE-787"], "affectedSoftware": [{"cpeName": "gnu:libredwg", "version": "0.10.1.3751", "operator": "le", "name": "gnu libredwg"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:gnu:libredwg:0.10.1.3751:*:*:*:*:*:*:*", "versionEndIncluding": "0.10.1.3751", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://github.com/LibreDWG/libredwg/issues/255", "name": "https://github.com/LibreDWG/libredwg/issues/255", "refsource": "MISC", "tags": ["Exploit", "Issue Tracking", "Patch", "Third Party Advisory"]}]}
{}