{"schemaVersion":3,"id":"CVE-2020-7982","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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).","dates":{"published":"2020-03-16T21:05:49.000Z","modified":"2024-08-04T09:48:24.578Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01596,"percentile":0.75362,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.008000000000000021,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01588},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01596,"percentile":0.75362}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01588,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01596,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01596,"percentile":0.75362}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_8F5E8EFA25826501","name":"Exploit Reference (blog.forallsecure.com)","source":"reference","url":"https://blog.forallsecure.com/uncovering-openwrt-remote-code-execution-cve-2020-7982","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_9C0EC20E51ED636F","name":"Exploit Reference (arstechnica.com)","source":"reference","url":"https://arstechnica.com/information-technology/2020/03/openwrt-is-vulnerable-to-attacks-that-execute-malicious-code/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity","description":"The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions","description":"The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/754.html"}],"affected":[{"vendor":"openwrt","product":"lede","name":"lede","label":"lede","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.01.0, ≤ 17.01.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.01.0, ≤ 17.01.7","eol":null,"hubHref":"/vendor/openwrt/lede"},{"vendor":"openwrt","product":"openwrt","name":"openwrt","label":"openwrt","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ 18.06.0, < 18.06.7","noFixRecorded":false,"fixedIn":null},{"text":"19.07.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 18.06.0, < 18.06.7 | 19.07.0","eol":{"isEol":true,"eolDate":"2022-04-30T00:00:00.000Z","matchMethod":"name_exact","cycle":{"name":"19.07","label":"19.07","eolFrom":"2022-04-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"19.07.10"},"product":{"name":"openwrt","label":"OpenWrt","category":"os"}},"hubHref":"/vendor/openwrt/openwrt"}],"affectedCount":2,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/openwrt/openwrt/commits/master","label":"github.com/openwrt/openwrt/commits/master","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://openwrt.org/advisory/2020-01-31-1","label":"openwrt.org/advisory/2020-01-31-1","hostname":"openwrt.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://blog.forallsecure.com/uncovering-openwrt-remote-code-execution-cve-2020-7982","label":"blog.forallsecure.com/uncovering-openwrt-remote-code-execution-cve-2020-7982","hostname":"blog.forallsecure.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://arstechnica.com/information-technology/2020/03/openwrt-is-vulnerable-to-attacks-that-execute-malicious-code/","label":"arstechnica.com/information-technology/…","hostname":"arstechnica.com","tags":["X Refsource MISC","Exploit","Press/Media Coverage","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-03-16T21:05:49.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T09:48:24.578Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:05:55.769Z","stale":false,"partial":false}}