{"id":"UBUNTU-CVE-2017-20229","details":"MAWK 1.3.3-17 and prior contains a stack-based buffer overflow vulnerability that allows attackers to execute arbitrary code by exploiting inadequate boundary checks on user-supplied input. Attackers can craft malicious input that overflows the stack buffer and execute a return-oriented programming chain to spawn a shell with application privileges.","modified":"2026-04-02T18:09:45.937835Z","published":"2026-03-28T12:16:00Z","upstream":["CVE-2017-20229"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-20229"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-20229"},{"type":"REPORT","url":"https://www.exploit-db.com/exploits/42357"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/mawk-17-stack-based-buffer-overflow"}],"affected":[{"package":{"name":"mawk","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/mawk@1.3.3-17ubuntu2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-17ubuntu1","1.3.3-17ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"mawk","binary_version":"1.3.3-17ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20229.json"}},{"package":{"name":"mawk","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mawk@1.3.3-17ubuntu2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-17ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"mawk","binary_version":"1.3.3-17ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20229.json"}},{"package":{"name":"mawk","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mawk@1.3.3-17ubuntu3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-17ubuntu2","1.3.3-17ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"mawk","binary_version":"1.3.3-17ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20229.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}