{"answers":{"affected":"It affects 20 products.","exploited":"There is no known exploitation of CVE-2016-5387 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2016-5387 is a high-severity server-side request forgery vulnerability in Apache Http Server, published on 19 Jul 2016. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-5387 and fix it if it is affected.\n\nWhat it is: CVE-2016-5387 is a high-severity server-side request forgery vulnerability in Apache Http Server, published on 19 Jul 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-5387 in the wild and no public exploit code.\n\nAffected product: Apache Http Server. 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-2016-5387/ (Markdown: https://insights.sbomify.com/CVE-2016-5387/index.md)","id":"CVE-2016-5387","markdown":"https://insights.sbomify.com/CVE-2016-5387/index.md","name":"CVE-2016-5387","record":{"aliases":["ALPINE-CVE-2016-5387","CVE-2016-1000102","DEBIAN-CVE-2016-5387","DLA-553-1","DSA-3623-1","GHSA-9hqr-6p2v-pfp2","MGASA-2016-0262","MGASA-2017-0146","RHSA-2016:1421","RHSA-2016:1422","RHSA-2016:1851","SUSE-SU-2016:1818-1","SUSE-SU-2016:1819-1","SUSE-SU-2016:2090-1","UBUNTU-CVE-2016-5387","USN-3038-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache HTTP Server","requires_auth":"none","summary":"Remote attackers can redirect outbound HTTP traffic to arbitrary proxies via crafted headers, potentially exposing internal data or bypassing security controls.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"http_server","vendor":"apache"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"system_management_homepage","vendor":"hp"},{"product":"leap","vendor":"opensuse"},{"product":"opensuse","vendor":"opensuse"},{"product":"communications_user_data_repository","vendor":"oracle"},{"product":"enterprise_manager_ops_center","vendor":"oracle"},{"product":"linux","vendor":"oracle"},{"product":"solaris","vendor":"oracle"},{"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":"jboss_web_server","vendor":"redhat"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"The Apache HTTP Server through 2.4.23 follows RFC 3875 section 4.1.18 and therefore does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an \"httpoxy\" issue.  NOTE: the vendor states \"This mitigation has been assigned the identifier CVE-2016-5387\"; in other words, this is not a CVE ID for a vulnerability.","ecosystems":["Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::client_workstation","Red Hat:enterprise_linux:5::server","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:jboss_core_services:1::el6","Red Hat:jboss_core_services:1::el7","SUSE:Linux Enterprise Server 11 SP4","SUSE:Linux Enterprise Server 12 SP1","SUSE:Linux Enterprise Server 12-LTSS","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 12","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Software Development Kit 11 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP1","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":"Server-side request forgery in n/a","id":"CVE-2016-5387","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:http_server","products":["apache:http_server","canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","hp:system_management_homepage","opensuse:leap","opensuse:opensuse","oracle:enterprise_manager_ops_center","oracle:linux","oracle:solaris","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"],"type":"ssrf","year":"2016"},"n_packages":103,"n_references":54,"next":{"headline":"Improper Access Control in Apache Tomcat","id":"CVE-2016-5388"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["1:2.2.3-92.el5_11"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/redhat/httpd-tools","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/redhat/httpd-tools","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["1:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/redhat/httpd-tools","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["1:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/redhat/httpd-tools","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["1:2.2.15-54.el6_8"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2016:1421"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-40.el7_2.4"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2016:1422"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-40.el7_2.4"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2016:1422"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-40.el7_2.4"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2016:1422"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-40.el7_2.4"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2016:1422"}],"prev":{"headline":"Server-side request forgery in n/a","id":"CVE-2016-5386"},"products":["n/a"],"published":"2016-07-19","related":[{"cvss_score":9.8,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-42013","kev_date_added":"2021-11-03","published":"2021-10-07"},{"cvss_score":9.1,"headline":"Apache HTTP Server Improper Escaping of Output","id":"CVE-2024-38475","kev_date_added":"2025-05-01","published":"2024-07-01"},{"cvss_score":9,"headline":"Apache HTTP Server-Side Request Forgery (SSRF)","id":"CVE-2021-40438","kev_date_added":"2021-12-01","published":"2021-09-16"},{"cvss_score":7.8,"headline":"Apache HTTP Server Privilege Escalation","id":"CVE-2019-0211","kev_date_added":"2021-11-03","published":"2019-04-08"},{"cvss_score":7.5,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-41773","kev_date_added":"2021-11-03","published":"2021-10-05"},{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2010-0425","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2005-2700","kev_date_added":null,"published":"2005-09-06"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can redirect outbound HTTP traffic to arbitrary proxies via crafted headers, potentially exposing internal data or bypassing security controls.","url":"https://insights.sbomify.com/CVE-2016-5387/"}