{"answers":{"affected":"1 open source package ship an affected version, including apr. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-49582 in the wild and no public exploit code.","fix":"Upgrade apr to 1.7.5 or later.","what":"CVE-2023-49582 is a medium-severity vulnerability in Apache Portable Runtime (APR), published on 26 Aug 2024. 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-2023-49582 and fix it if it is affected.\n\nWhat it is: CVE-2023-49582 is a medium-severity vulnerability in Apache Portable Runtime (APR), published on 26 Aug 2024. 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-2023-49582 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- apr (Bitnami): affected from 0.9.0; fixed in 1.7.5\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-2023-49582/ (Markdown: https://insights.sbomify.com/CVE-2023-49582/index.md)","id":"CVE-2023-49582","markdown":"https://insights.sbomify.com/CVE-2023-49582/index.md","name":"CVE-2023-49582","record":{"aliases":["ALPINE-CVE-2023-49582","AZL-48216","AZL-48273","BELL-CVE-2023-49582","BIT-apr-2023-49582","DEBIAN-CVE-2023-49582","GHSA-j26h-qjc9-68hh","MGASA-2024-0292","OESA-2024-2229","ROOT-OS-DEBIAN-11-CVE-2023-49582","SUSE-SU-2024:3428-1","SUSE-SU-2024:3429-1","UBUNTU-CVE-2023-49582","USN-7038-1","USN-7038-2","openSUSE-SU-2024:14347-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache Portable Runtime","requires_auth":"low_privilege","summary":"Local attackers can read sensitive data from shared memory segments due to lax permissions in the Apache Portable Runtime library on Unix systems.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"portable_runtime","vendor":"apache"}],"cvss":{"score":5.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"description":"Lax permissions set by the Apache Portable Runtime library on Unix platforms would allow local users read access to named shared memory segments, potentially revealing sensitive application data. \n\nThis issue does not affect non-Unix platforms, or builds with APR_USE_SHMEM_SHMGET=1 (apr.h)\n\nUsers are recommended to upgrade to APR version 1.7.5, which fixes this issue.","ecosystems":["Bitnami","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"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":"Apache Portable Runtime (APR): Unexpected lax shared memory permissions","id":"CVE-2023-49582","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":9,"n_references":1,"next":{"headline":"Escalation of Privileges in SAP BTP Security Services Integration Library ([Node.js] @sap/xssec)","id":"CVE-2023-49583"},"packages":[{"ecosystem":"Bitnami","fixed":["1.7.5"],"introduced":["0.9.0"],"last_affected":[],"package":"apr","purl":"pkg:bitnami/apr","source":"BIT-apr-2023-49582"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["1.6.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/suse/apr\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:3428-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["1.6.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/suse/apr\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2024:3428-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.5.1-4.8.1"],"introduced":["0"],"last_affected":[],"package":"libapr1","purl":"pkg:rpm/suse/libapr1\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:3429-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.5.1-4.8.1"],"introduced":["0"],"last_affected":[],"package":"libapr1","purl":"pkg:rpm/suse/libapr1\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:3429-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.5.1-4.8.1"],"introduced":["0"],"last_affected":[],"package":"libapr1","purl":"pkg:rpm/suse/libapr1\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:3429-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.6.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/opensuse/apr\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:3428-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.6.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/opensuse/apr\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:3428-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.7.5-1.1"],"introduced":["0"],"last_affected":[],"package":"apr","purl":"pkg:rpm/opensuse/apr\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14347-1"}],"prev":{"headline":"SQL Injection vulnerability in SAP NetWeaver Application Server ABAP and ABAP Platform","id":"CVE-2023-49581"},"products":["Apache Portable Runtime (APR)"],"published":"2024-08-26","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":7.1,"headline":"Information disclosure in Apache Portable Runtime","id":"CVE-2017-12613","kev_date_added":null,"published":"2017-10-24"},{"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":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-13","vendors":["Apache Software Foundation"]},"summary":"Local attackers can read sensitive data from shared memory segments due to lax permissions in the Apache Portable Runtime library on Unix systems.","url":"https://insights.sbomify.com/CVE-2023-49582/"}