{"id":"CVE-2020-24916","aliases":["DEBIAN-CVE-2020-24916","DLA-2384-1","DSA-4773-1","EUVD-2020-17621","GHSA-962f-382j-8f7x","UBUNTU-CVE-2020-24916","USN-4569-1","USN-8995-1"],"status":"published","title":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","description":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.17374,"percentile":0.97137,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2020-09-09T18:10:25Z","modified":"2026-11-04T03:43:15Z","fixes":[{"ecosystem":"Debian:12","package":"yaws","fixed_in":["2.0.8+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"yaws","fixed_in":["2.0.8+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"yaws","fixed_in":["2.0.8+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yaws","fixed_in":["2.0.2-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"yaws","fixed_in":["2.0.4+dfsg-2ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"yaws","fixed_in":["2.0.7+dfsg-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4+dfsg-1+deb9u1"}]}],"versions":["2.0.4+dfsg-1"],"bundled":2},{"source":"osv","ecosystem":"Debian:10","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.6+dfsg-1+deb10u1"}]}],"versions":["2.0.6+dfsg-1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.2-1ubuntu0.1~esm1"}]}],"versions":["1.98-5","1.99-1","1.99-2","2.0.2-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4+dfsg-2ubuntu0.1"}]}],"versions":["2.0.4+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.7+dfsg-1ubuntu0.1~esm1"}]}],"versions":["2.0.6+dfsg-1","2.0.6+dfsg-3","2.0.7+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4+dfsg-2ubuntu0.1"}]}],"versions":["2.0.4+dfsg-2"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.2-1ubuntu0.1~esm1"}]}],"versions":["1.98-5","1.99-1","1.99-2","2.0.2-1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"yaws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.7+dfsg-1ubuntu0.1~esm1"}]}],"versions":["2.0.6+dfsg-1","2.0.6+dfsg-3","2.0.7+dfsg-1"],"bundled":2}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"yaws","product":"yaws"}],"references":[{"url":"https://github.com/erlyaws/yaws/commits/master","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://packetstormsecurity.com/files/159106/Yaws-2.0.7-XML-Injection-Command-Injection.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://vuln.be/post/yaws-xxe-and-shell-injections/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/vulnbe/poc-yaws-cgi-shell-injection","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00022.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4569-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4773","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24916"},{"url":"https://github.com/advisories/GHSA-962f-382j-8f7x"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-24916","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-24916","tags":["report"]},{"url":"https://github.com/erlyaws/yaws/commit/799b3b526d15b7a9bc43ae97165aeb085f18fac1","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4569-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-24916","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8995-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-24379","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-24916","description":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","status":"published","published":"2020-09-09T18:10:25Z","modified":"2024-08-04T15:26:07.735Z","updated_at":"2026-11-02T14:35:54.468882Z"}],"euvd":[{"id":"EUVD-2020-17621","description":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","status":"published","published":"2020-09-09T18:10:25Z","modified":"2024-08-04T15:26:07Z","updated_at":"2026-11-03T03:07:18.658916Z"}],"ghsa":[{"id":"GHSA-962f-382j-8f7x","title":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","description":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","status":"published","published":"2022-05-24T17:27:41Z","modified":"2023-01-31T05:02:59Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:48:22.700087Z"}],"nvd":[{"id":"CVE-2020-24916","description":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","status":"published","published":"2020-09-09T19:15:21.147Z","modified":"2026-06-17T03:06:09.51Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:14.981587Z"}],"osv":[{"id":"CVE-2020-24916","description":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","status":"published","published":"2020-09-09T19:15:21.147Z","modified":"2026-10-20T10:52:52.249726172Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:15.879068Z"},{"id":"DEBIAN-CVE-2020-24916","description":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","status":"published","published":"2020-09-09T19:15:21.147Z","modified":"2026-10-26T12:01:46.998519249Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:33.729655Z"},{"id":"UBUNTU-CVE-2020-24916","description":"CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.","status":"published","published":"2020-09-09T19:15:00Z","modified":"2026-11-04T03:42:04.797392718Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-04T03:56:18.279609Z"},{"id":"DLA-2384-1","title":"yaws - security update","status":"published","published":"2020-09-26T00:00:00Z","modified":"2026-03-09T01:22:34.086794Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"DSA-4773-1","title":"yaws - security update","status":"published","published":"2020-10-16T00:00:00Z","modified":"2026-03-09T02:09:24.676004Z","updated_at":"2026-11-02T15:46:17.19998Z"},{"id":"USN-4569-1","title":"yaws vulnerabilities","description":"It was discovered that Yaws did not properly sanitize XML input. A remote\nattacker could use this vulnerability to execute an XML External Entity\n(XXE) injection attack. (CVE-2020-24379)\n\nIt was discovered that Yaws mishandled certain input when running CGI\nscripts. A remote attacker could use this vulnerability to execute\narbitrary commands. (CVE-2020-24916)\n","status":"published","published":"2020-10-05T13:32:55Z","modified":"2026-04-27T15:44:08.417672Z","updated_at":"2026-11-02T16:58:15.159055Z"},{"id":"USN-8995-1","title":"yaws vulnerabilities","description":"It was discovered that Yaws did not properly sanitize XML input in its\nWebDAV implementation. A remote attacker could possibly use this issue to\nperform XML external entity injection attacks. (CVE-2020-24379)\n\nIt was discovered that Yaws mishandled certain input when running CGI\nscripts. A remote attacker could possibly use this issue to execute\narbitrary commands. (CVE-2020-24916)","status":"published","published":"2026-11-03T17:16:06Z","modified":"2026-11-04T03:43:15.18130688Z","updated_at":"2026-11-04T03:56:18.279609Z"}]}}
