{"id":"UBUNTU-CVE-2021-35940","details":"An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the same issue.","modified":"2026-04-22T12:56:59.739109Z","published":"2021-08-23T10:15:00Z","related":["USN-5056-1"],"upstream":["CVE-2021-35940"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-35940"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2021/08/23/1"},{"type":"REPORT","url":"http://svn.apache.org/viewvc?view=revision&revision=1891198"},{"type":"REPORT","url":"https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch"},{"type":"REPORT","url":"http://mail-archives.apache.org/mod_mbox/www-announce/201710.mbox/%3CCACsi251B8UaLvM-rrH9fv57-zWi0zhyF3275_jPg1a9VEVVoxw@mail.gmail.com%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/ra2868b53339a6af65577146ad87016368c138388b09bff9d2860f50e%40%3Cdev.apr.apache.org%3E"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2021/08/23/1"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/ra2868b53339a6af65577146ad87016368c138388b09bff9d2860f50e@%3Cdev.apr.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rb1f3c85f50fbd924a0051675118d1609e57957a02ece7facb723155b@%3Cannounce.apache.org%3E"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5056-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-35940"}],"affected":[{"package":{"name":"apr","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/apr@1.5.0-1ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-1ubuntu0.1~esm1"}]}],"versions":["1.4.8-1ubuntu1","1.4.8-2","1.4.8-3","1.5.0-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.5.0-1ubuntu0.1~esm1","binary_name":"libapr1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-35940.json"}},{"package":{"name":"apr","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/apr@1.5.2-3ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2-3ubuntu0.1~esm1"}]}],"versions":["1.5.2-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.5.2-3ubuntu0.1~esm1","binary_name":"libapr1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-35940.json"}},{"package":{"name":"apr","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/apr@1.7.0-6ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.0-6ubuntu1"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.7.0-6ubuntu1","binary_name":"libapr1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-35940.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}