CVE-2021-35940 Regression of CVE-2017-12613
HighCVSS 7.1
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
20 packages: 17 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/apr(Alpine v3.14) | < 1.7.0-r1 | 1.7.0-r1 | Fixed |
| alpine/apr(Alpine v3.15) | < 1.7.0-r1 | 1.7.0-r1 | Fixed |
| alpine/apr(Alpine v3.16) | < 1.7.0-r2 | 1.7.0-r2 | Fixed |
| alpine/apr(Alpine v3.17) | < 1.7.0-r2 | 1.7.0-r2 | Fixed |
| alpine/apr(Alpine v3.18) | < 1.7.0-r2 | 1.7.0-r2 | Fixed |
| alpine/apr(Alpine v3.19) | < 1.7.0-r2 | 1.7.0-r2 | Fixed |
| alpine/apr(Alpine v3.20) | < 1.7.0-r2 | 1.7.0-r2 | Fixed |
| alpine/apr(Alpine v3.21) | < 1.7.0-r2 | 1.7.0-r2 | Fixed |
| alpine/apr(Alpine v3.22) | < 1.7.0-r2 | 1.7.0-r2 | Fixed |
| alpine/apr(Alpine v3.23) | < 1.7.0-r2 | 1.7.0-r2 | Fixed |
| alpine/apr(Alpine v3.24) | < 1.7.0-r2 | 1.7.0-r2 | Fixed |
| debian/apr(Debian 12) | < 1.7.0-7 | 1.7.0-7 | Fixed |
| debian/apr(Debian 13) | < 1.7.0-7 | 1.7.0-7 | Fixed |
| debian/apr(Debian 14) | < 1.7.0-7 | 1.7.0-7 | Fixed |
| ubuntu/apr(Ubuntu 22.04) | < 1.7.0-6ubuntu1 | 1.7.0-6ubuntu1 | Fixed |
| ubuntu/apr(Ubuntu Pro 14.04) | < 1.5.0-1ubuntu0.1~esm1; = 1.4.8-1ubuntu1; = 1.4.8-2; = 1.4.8-3 +1 more | 1.5.0-1ubuntu0.1~esm1 | Fixed |
| ubuntu/apr(Ubuntu Pro 16.04) | < 1.5.2-3ubuntu0.1~esm1; = 1.5.2-3 | 1.5.2-3ubuntu0.1~esm1 | Fixed |
| apache portable runtime | = 1.7.0 | No fix listed | Versions listed |
| Apache Portable Runtime (APR) | = Apache Portable Runtime 1.7.0 | No fix listed | Versions listed |
| oracle http server | = 12.2.1.3.0; = 12.2.1.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/apr(Debian:12) | < 1.7.0-7 | 1.7.0-7 |
| debian/apr(Debian:13) | < 1.7.0-7 | 1.7.0-7 |
| debian/apr(Debian:14) | < 1.7.0-7 | 1.7.0-7 |
| ubuntu/apr(Ubuntu:22.04) | < 1.7.0-6ubuntu1 | 1.7.0-6ubuntu1 |
| apache portable runtime | = 1.7.0 | No fix listed |
| oracle http server | = 12.2.1.3.0 | No fix listed |
| oracle http server | = 12.2.1.4.0 | No fix listed |
| alpine/apr(Alpine:v3.14) | < 1.7.0-r1 | 1.7.0-r1 |
| alpine/apr(Alpine:v3.15) | < 1.7.0-r1 | 1.7.0-r1 |
| alpine/apr(Alpine:v3.16) | < 1.7.0-r2 | 1.7.0-r2 |
| alpine/apr(Alpine:v3.17) | < 1.7.0-r2 | 1.7.0-r2 |
| alpine/apr(Alpine:v3.18) | < 1.7.0-r2 | 1.7.0-r2 |
| alpine/apr(Alpine:v3.19) | < 1.7.0-r2 | 1.7.0-r2 |
| alpine/apr(Alpine:v3.20) | < 1.7.0-r2 | 1.7.0-r2 |
| alpine/apr(Alpine:v3.21) | < 1.7.0-r2 | 1.7.0-r2 |
| alpine/apr(Alpine:v3.22) | < 1.7.0-r2 | 1.7.0-r2 |
| alpine/apr(Alpine:v3.23) | < 1.7.0-r2 | 1.7.0-r2 |
| alpine/apr(Alpine:v3.24) | < 1.7.0-r2 | 1.7.0-r2 |
| Apache Portable Runtime (APR) | = Apache Portable Runtime 1.7.0 | No fix listed |
| ubuntu/apr(Ubuntu:Pro:14.04) | < 1.5.0-1ubuntu0.1~esm1 | 1.5.0-1ubuntu0.1~esm1 |
| ubuntu/apr(Ubuntu:Pro:14.04) | = 1.4.8-1ubuntu1 | No fix listed |
| ubuntu/apr(Ubuntu:Pro:14.04) | = 1.4.8-2 | No fix listed |
| ubuntu/apr(Ubuntu:Pro:14.04) | = 1.4.8-3 | No fix listed |
| ubuntu/apr(Ubuntu:Pro:14.04) | = 1.5.0-1 | No fix listed |
| ubuntu/apr(Ubuntu:Pro:16.04) | < 1.5.2-3ubuntu0.1~esm1 | 1.5.2-3ubuntu0.1~esm1 |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/apr(Ubuntu:Pro:16.04) | = 1.5.2-3 | No fix listed |
References
- Debian Security Tracker CVE-2021-35940 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5056-1 vendor-advisory
- www.cve.org issue-tracking
- mail-archives.apache.org
- svn.apache.org issue-tracking vendor-advisory
- [oss-security] 20210823 CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 issue-tracking mailing-list third-party-advisory
- dist.apache.org issue-tracking patch vendor-advisory
- [tomcat-dev] 20210922 [jira] [Reopened] (MTOMCAT-327) Tomcat 9.0.50 and it has apr-1.7.0 dependency, with Address CVE-2021-35940 mailing-list
- [apr-dev] 20210901 Re: APR 1.7.1 release? mailing-list
- [tomcat-dev] 20210922 [jira] [Resolved] (MTOMCAT-327) Tomcat 9.0.50 and it has apr-1.7.0 dependency, with Address CVE-2021-35940 mailing-list
- [tomcat-dev] 20210922 [jira] [Created] (MTOMCAT-327) Tomcat 9.0.50 and it has apr-1.7.0 dependency, with Address CVE-2021-35940 mailing-list
- [apr-dev] 20210831 Re: APR 1.7.1 release? mailing-list
- [apr-dev] 20210831 APR 1.7.1 release? mailing-list
- [httpd-dev] 20210831 APR 1.7.1 release? mailing-list
- [apr-dev] 20210823 CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 issue-tracking mailing-list vendor-advisory
- [apr-dev] 20210916 Re: CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 mailing-list
- [tomcat-dev] 20210922 [jira] [Commented] (MTOMCAT-327) Tomcat 9.0.50 and it has apr-1.7.0 dependency, with Address CVE-2021-35940 mailing-list
- [announce] 20210823 CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 mailing-list
- www.oracle.com patch third-party-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- www.openwall.com issue-tracking
- mail-archives.apache.org issue-tracking
- lists.apache.org issue-tracking
- lists.apache.org issue-tracking