CVE-2017-12613
When apr_time_exp*() or apr_os_exp_time*() functions are invoked with an invalid month field value in Apache Portable Runtime APR 1.6.2 and prior, out of bounds memory may be accessed in converting this value to an apr_time_exp_t value, potentially revealing the contents of a different static heap value or resulting in program termination, and may represent an information disclosure or denial of service vulnerability to applications which call these APR functions with unvalidated external input.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | apr | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | apr | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | apr | Fix pending | 1.5.2-3ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2017-12613 |
| Ubuntu 14.04 | apr | Fix pending | 1.5.0-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2017-12613 |
| Debian 14 | apr | Fixed | 1.6.3-1 | DEBIAN-CVE-2017-12613 |
| Debian 13 | apr | Fixed | 1.6.3-1 | DEBIAN-CVE-2017-12613 |
| Debian 12 | apr | Fixed | 1.6.3-1 | DEBIAN-CVE-2017-12613 |
| Red Hat Enterprise Linux 7 | apr | Fixed | 0:1.4.8-3.el7_4.1 | RHSA-2017:3270 |
| Red Hat Enterprise Linux 7 | apr-devel | Fixed | 0:1.4.8-3.el7_4.1 | RHSA-2017:3270 |
| Red Hat Enterprise Linux 6 | apr | Fixed | 0:1.3.9-5.el6_9.1 | RHSA-2017:3270 |
| Red Hat Enterprise Linux 6 | apr-devel | Fixed | 0:1.3.9-5.el6_9.1 | RHSA-2017:3270 |
| Red Hat Enterprise Linux 5 | apr | Will not fix Will not fix |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Portable Runtime: affected: 1.6.2 and prior
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:0316 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:3475 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0465 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:3270 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:3476 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:1253 (vendor-advisory)
References
- https://lists.debian.org/debian-lts-announce/2017/11/msg00005.html
- https://access.redhat.com/errata/RHSA-2018:0316
- https://svn.apache.org/viewvc?view=revision&revision=1807976
- http://www.securitytracker.com/id/1042004
- https://access.redhat.com/errata/RHSA-2017:3475
- https://access.redhat.com/errata/RHSA-2018:0465
- http://www.apache.org/dist/apr/Announcement1.x.html
- https://access.redhat.com/errata/RHSA-2017:3270
- https://lists.apache.org/thread.html/12489f2e4a9f9d390235c16298aca0d20658789de80d553513977f13%40%3Cannounce.apache.org%3E
- https://access.redhat.com/errata/RHSA-2017:3476
- https://access.redhat.com/errata/RHSA-2018:1253
- https://access.redhat.com/errata/RHSA-2017:3477
- https://access.redhat.com/errata/RHSA-2018:0466
- http://www.securityfocus.com/bid/101560
- https://lists.apache.org/thread.html/rcc48a0acebbd74bbdeebc02ff228bb72c0631b21823fffe27d4691e9%40%3Ccommits.apr.apache.org%3E
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.