{"id":"CVE-2021-35940","aliases":["CVE-2021-35940","BIT-APR-2021-35940"],"related":[],"kind":"vulnerability","state":"published","title":"Regression of CVE-2017-12613","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha corregido una lectura de matrices fuera de límites en la función apr_time_exp*() en Apache Portable Runtime versión 1.6.3 (CVE-2017-12613). La corrección de este problema no se trasladó a la rama APR versión 1.7.x, por lo que la versión 1.7.0 retrocedió en comparación con la versión 1.6.3 y es vulnerable al mismo problema.","source":"nvd"}],"published":"2021-08-23T10:00:10.000Z","modified":"2026-09-08T08:45:48.577Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:P","score":3.6,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"Apache Portable Runtime 1.7.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Portable Runtime (APR)","source":"cvelist"},{"ranges":[{"status":"affected","version":"1.7.0"}],"vendor":"apache","product":"portable_runtime","cpe":"cpe:2.3:a:apache:portable_runtime:1.7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.2.1.3.0"},{"status":"affected","version":"12.2.1.4.0"}],"vendor":"oracle","product":"http_server","cpe":"cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.7.1"}],"ecosystem":"Bitnami","package":"apr","purl":"pkg:bitnami/apr","source":"bitnami"}],"references":[{"url":"http://svn.apache.org/viewvc?view=revision&revision=1891198","tags":["advisory","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://mail-archives.apache.org/mod_mbox/www-announce/201710.mbox/%3CCACsi251B8UaLvM-rrH9fv57-zWi0zhyF3275_jPg1a9VEVVoxw%40mail.gmail.com%3E","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch","tags":["advisory","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/ra2868b53339a6af65577146ad87016368c138388b09bff9d2860f50e%40%3Cdev.apr.apache.org%3E","tags":["advisory","mailing-list","vendor-advisory","x-refsource-misc","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/23/1","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/rb1f3c85f50fbd924a0051675118d1609e57957a02ece7facb723155b%40%3Cannounce.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r7bb4a6ed88fc48152174e664aae30ea9a8b058eb5b44cf08cb9beb4b%40%3Cdev.apr.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r7bb4a6ed88fc48152174e664aae30ea9a8b058eb5b44cf08cb9beb4b%40%3Cdev.httpd.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r72a069753b9363c29732e59ad8f0d22a633fb6a699980407511ac961%40%3Cdev.apr.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r317c398ee5736e627f7887b06607e5c58b45a696d352ba8c14615f55%40%3Cdev.apr.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/ra38094406cc38a05218ebd1158187feda021b0c3a1df400bbf296af8%40%3Cdev.apr.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r72479f4dcffaa8a4732d5a0e87fecc4bace4932e28fc26f7d400e2b3%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r54c755c74b9e3846cfd84039b1967d37d2870750a02d7c603983f6ed%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/rafe54755850e93de287c36540972457b2dd86332106aa7817c7c27fb%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r1c788464a25fbc046a72aff451bc8186386315d92a2dd0349903fa4f%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["advisory","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35940","tags":["web"],"sources":["bitnami"]}],"credits":["The Apache Portable Runtime project would like to thank Iveta Cesalova (Red Hat) for reporting this issue."],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-35940","url":"https://www.cve.org/CVERecord?id=CVE-2021-35940","licence":"CVE Terms of Use","modified":"2024-08-04T00:40:47.582Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-35940","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35940","licence":"Public domain","modified":"2026-06-17T03:57:58.057Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-APR-2021-35940","url":"https://osv.dev/vulnerability/BIT-APR-2021-35940","licence":"Apache-2.0","modified":"2026-09-08T08:45:48.577Z"}],"updatedAt":"2026-11-25T22:58:03.355Z","epss":{"score":0.01185,"percentile":0.68701,"date":"2026-12-01T12:00:22.000Z"}}