{"id":"UBUNTU-CVE-2024-30949","details":"An issue in newlib v.4.3.0 allows an attacker to execute arbitrary code via the time unit scaling in the _gettimeofday function.","modified":"2026-04-22T14:48:15.904015Z","published":"2024-08-20T15:15:00Z","upstream":["CVE-2024-30949"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-30949"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-30949"},{"type":"REPORT","url":"https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=5f15d7c5817b07a6b18cbab17342c95cb7b42be4"},{"type":"REPORT","url":"https://inbox.sourceware.org/newlib/20231129035714.469943-1-visitorckw%40gmail.com/"},{"type":"REPORT","url":"https://sourceware.org/git/?p=newlib-cygwin.git%3Ba=commit%3Bh=5f15d7c5817b07a6b18cbab17342c95cb7b42be4"},{"type":"REPORT","url":"https://gist.github.com/visitorckw/6b26e599241ea80210ea136b28441661"}],"affected":[{"package":{"name":"newlib","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/newlib@2.2.0+git20150830.5a3d536-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0+git20141201.db59ff3-2","2.2.0+git20150830.5a3d536-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnewlib-arm-none-eabi","binary_version":"2.2.0+git20150830.5a3d536-1"},{"binary_name":"newlib-source","binary_version":"2.2.0+git20150830.5a3d536-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-30949.json"}},{"package":{"name":"newlib","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/newlib@2.4.0.20160527-3ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0.20160527-2","2.4.0.20160527-3","2.4.0.20160527-3ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnewlib-arm-none-eabi","binary_version":"2.4.0.20160527-3ubuntu0.1"},{"binary_name":"newlib-source","binary_version":"2.4.0.20160527-3ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-30949.json"}},{"package":{"name":"newlib","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/newlib@3.3.0-0ubuntu1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.0.20181231-1","3.3.0-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnewlib-arm-none-eabi","binary_version":"3.3.0-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-30949.json"}},{"package":{"name":"newlib","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/newlib@3.3.0-1.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-1","3.3.0-1.2","3.3.0-1.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libnewlib-arm-none-eabi","binary_version":"3.3.0-1.3"},{"binary_name":"newlib-source","binary_version":"3.3.0-1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-30949.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_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}