{"answers":{"affected":"It affects 11 products.","exploited":"There is no known exploitation of CVE-2017-12613 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2017-12613 is a high-severity vulnerability in Debian Debian Linux, published on 24 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-12613 and fix it if it is affected.\n\nWhat it is: CVE-2017-12613 is a high-severity vulnerability in Debian Debian Linux, published on 24 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-12613 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-12613/ (Markdown: https://insights.sbomify.com/CVE-2017-12613/index.md)","id":"CVE-2017-12613","markdown":"https://insights.sbomify.com/CVE-2017-12613/index.md","name":"CVE-2017-12613","record":{"aliases":["DEBIAN-CVE-2017-12613","DLA-1162-1","DLA-2897-1","GHSA-v99m-xvmc-cgf3","MGASA-2017-0417","OESA-2021-1096","OESA-2021-1097","RHSA-2017:3270","RHSA-2018:0316","RHSA-2018:1253","SUSE-SU-2018:1196-1","SUSE-SU-2018:1322-1","UBUNTU-CVE-2017-12613"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache Portable Runtime","requires_auth":"low_privilege","summary":"Out-of-bounds memory access in APR time functions allows attackers to read heap memory or crash applications via invalid month inputs.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"portable_runtime","vendor":"apache"},{"product":"debian_linux","vendor":"debian"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"jboss_core_services","vendor":"redhat"},{"product":"jboss_enterprise_web_server","vendor":"redhat"},{"product":"software_collections","vendor":"redhat"}],"cvss":{"score":7.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"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.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:rhel_aus:6.4::server","Red Hat:rhel_aus:6.5::server","Red Hat:rhel_aus:6.6::server","Red Hat:rhel_aus:7.2::server","Red Hat:rhel_e4s:7.2::server","Red Hat:rhel_eus:6.7::computenode","Red Hat:rhel_eus:6.7::server","Red Hat:rhel_eus:7.3::computenode","Red Hat:rhel_eus:7.3::server","Red Hat:rhel_software_collections:3::el6","Red Hat:rhel_tus:6.6::server","Red Hat:rhel_tus:7.2::server","SUSE:Linux Enterprise Server 11 SP4","SUSE:Linux Enterprise Server 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Software Development Kit 11 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP3","SUSE:Studio Onsite 1.3"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Information disclosure in Apache Portable Runtime","id":"CVE-2017-12613","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation","redhat:software_collections"],"type":"information_disclosure","year":"2017"},"n_packages":67,"n_references":21,"next":{"headline":"Apache Airflow Reflected Cross-site Scripting vulnerability in 404 Endpoint","id":"CVE-2017-12614"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.3.9-5.el6_9.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.4.8-3.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2017:3270"},{"ecosystem":"Red Hat:rhel_aus:6.4::server","fixed":["0:1.3.9-5.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:6.4::server","fixed":["0:1.3.9-5.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:6.4::server","fixed":["0:1.3.9-5.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:6.5::server","fixed":["0:1.3.9-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:6.5::server","fixed":["0:1.3.9-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:6.5::server","fixed":["0:1.3.9-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:6.6::server","fixed":["0:1.3.9-5.el6_6.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:6.6::server","fixed":["0:1.3.9-5.el6_6.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:6.6::server","fixed":["0:1.3.9-5.el6_6.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:7.2::server","fixed":["0:1.4.8-3.el7_2.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:7.2::server","fixed":["0:1.4.8-3.el7_2.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_aus:7.2::server","fixed":["0:1.4.8-3.el7_2.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_e4s:7.2::server","fixed":["0:1.4.8-3.el7_2.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_e4s:7.2::server","fixed":["0:1.4.8-3.el7_2.1"],"introduced":["0"],"last_affected":[],"package":"apr-debuginfo","purl":"pkg:rpm/redhat/apr-debuginfo","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_e4s:7.2::server","fixed":["0:1.4.8-3.el7_2.1"],"introduced":["0"],"last_affected":[],"package":"apr-devel","purl":"pkg:rpm/redhat/apr-devel","source":"RHSA-2018:1253"},{"ecosystem":"Red Hat:rhel_eus:6.7::computenode","fixed":["0:1.3.9-5.el6_7.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/redhat/apr","source":"RHSA-2018:1253"}],"prev":{"headline":"Apache Spark Deserialization of Untrusted Data vulnerability","id":"CVE-2017-12612"},"products":["Apache Portable Runtime"],"published":"2017-10-24","related":[{"cvss_score":9.8,"headline":"Apache Portable Runtime (APR): out-of-bound writes in the apr_encode family of functions","id":"CVE-2022-24963","kev_date_added":null,"published":"2023-01-31"},{"cvss_score":9.8,"headline":"Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function","id":"CVE-2022-28331","kev_date_added":null,"published":"2023-01-31"},{"cvss_score":7.1,"headline":"Regression of CVE-2017-12613","id":"CVE-2021-35940","kev_date_added":null,"published":"2021-08-23"},{"cvss_score":5.5,"headline":"Apache Portable Runtime (APR): Unexpected lax shared memory permissions","id":"CVE-2023-49582","kev_date_added":null,"published":"2024-08-26"},{"cvss_score":5,"headline":"Denial of service in n/a","id":"CVE-2012-0840","kev_date_added":null,"published":"2012-02-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Apache Software Foundation"]},"summary":"Out-of-bounds memory access in APR time functions allows attackers to read heap memory or crash applications via invalid month inputs.","url":"https://insights.sbomify.com/CVE-2017-12613/"}