{"id":"CVE-2020-7982","details":"An issue was discovered in OpenWrt 18.06.0 to 18.06.6 and 19.07.0, and LEDE 17.01.0 to 17.01.7. A bug in the fork of the opkg package manager before 2020-01-25 prevents correct parsing of embedded checksums in the signed repository index, allowing a man-in-the-middle attacker to inject arbitrary package payloads (which are installed without verification).","modified":"2026-07-08T22:14:10.788739Z","published":"2020-03-16T22:15:14.667Z","references":[{"type":"ADVISORY","url":"https://openwrt.org/advisory/2020-01-31-1"},{"type":"FIX","url":"https://github.com/openwrt/openwrt/commits/master"},{"type":"EVIDENCE","url":"https://arstechnica.com/information-technology/2020/03/openwrt-is-vulnerable-to-attacks-that-execute-malicious-code/"},{"type":"EVIDENCE","url":"https://blog.forallsecure.com/uncovering-openwrt-remote-code-execution-cve-2020-7982"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openwrt/openwrt","events":[{"introduced":"ac733df99c78f54b4cf9a8710f70a506f73e66fc"},{"last_affected":"14fb5b4f15c2ea1d3e3912add38a4036088b93fa"},{"introduced":"03b693064b6ad85ce9c57ab0226b986b09c8eb05"},{"fixed":"1b5c116233a8c9421e97a1336bcf7cb3d42eca7d"},{"introduced":"aca39acedf98aa7e40119692f6b94681096becd2"},{"last_affected":"aca39acedf98aa7e40119692f6b94681096becd2"}],"database_specific":{"cpe":["cpe:2.3:a:openwrt:lede:*:*:*:*:*:*:*:*","cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*","cpe:2.3:o:openwrt:openwrt:19.07.0:-:*:*:*:*:*:*"],"extracted_events":[{"introduced":"17.01.0"},{"last_affected":"17.01.7"},{"introduced":"18.06.0"},{"fixed":"18.06.7"},{"introduced":"19.07.0-NA"},{"last_affected":"19.07.0-NA"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["19.07.0-NA","v19.07.0","v18.06.6","v18.06.5","v18.06.4","v18.06.3","v18.06.2","v18.06.1","v18.06.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7982.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}