{"answers":{"affected":"8 open source packages ship an affected version, including org.springframework.amqp:spring-amqp and com.rabbitmq:amqp-client. It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-11087 in the wild and no public exploit code.","fix":"Upgrade org.springframework.amqp:spring-amqp to a fixed version for your release line: 1.7.10 or 2.0.6.","what":"CVE-2018-11087 is a medium-severity vulnerability in Pivotal Spring AMQP, published on 14 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-11087 and fix it if it is affected.\n\nWhat it is: CVE-2018-11087 is a medium-severity vulnerability in Pivotal Spring AMQP, published on 14 Sep 2018. 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-2018-11087 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.amqp:spring-amqp (Maven): affected all versions; fixed in 1.7.10\n- org.springframework.amqp:spring-amqp (Maven): affected all versions; fixed in 1.7.10\n- org.springframework.amqp:spring-amqp (Maven): affected from 2.0.0; fixed in 2.0.6\n- org.springframework.amqp:spring-amqp (Maven): affected from 2.0.0; fixed in 2.0.6\n- com.rabbitmq:amqp-client (Maven): affected all versions; fixed in 4.8.0\n- com.rabbitmq:amqp-client (Maven): affected all versions; fixed in 4.8.0\n- com.rabbitmq:amqp-client (Maven): affected from 5.0.0; fixed in 5.4.0\n- com.rabbitmq:amqp-client (Maven): affected from 5.0.0; fixed in 5.4.0\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-2018-11087/ (Markdown: https://insights.sbomify.com/CVE-2018-11087/index.md)","id":"CVE-2018-11087","markdown":"https://insights.sbomify.com/CVE-2018-11087/index.md","name":"CVE-2018-11087","record":{"aliases":["GHSA-w4g2-9hj6-5472"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring AMQP library","requires_auth":"none","summary":"Attackers can intercept and view data in transit due to missing hostname validation in TLS connections.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"spring_advanced_message_queuing_protocol","vendor":"pivotal_software"},{"product":"rabbitmq_java_client","vendor":"vmware"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"Pivotal Spring AMQP, 1.x versions prior to 1.7.10 and 2.x versions prior to 2.0.6, expose a man-in-the-middle vulnerability due to lack of hostname validation. A malicious user that has the ability to intercept traffic would be able to view data in transit.","ecosystems":["Maven"],"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":"TLS validation error","id":"CVE-2018-11087","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2018"},"n_packages":8,"n_references":1,"next":{"headline":"Privilege escalation in Application Service","id":"CVE-2018-11088"},"packages":[{"ecosystem":"Maven","fixed":["4.8.0"],"introduced":["0"],"last_affected":[],"package":"com.rabbitmq:amqp-client","purl":null,"source":"GHSA-w4g2-9hj6-5472"},{"ecosystem":"Maven","fixed":["4.8.0"],"introduced":["0"],"last_affected":[],"package":"com.rabbitmq:amqp-client","purl":"pkg:maven/com.rabbitmq/amqp-client","source":"GHSA-w4g2-9hj6-5472"},{"ecosystem":"Maven","fixed":["5.4.0"],"introduced":["5.0.0"],"last_affected":[],"package":"com.rabbitmq:amqp-client","purl":null,"source":"GHSA-w4g2-9hj6-5472"},{"ecosystem":"Maven","fixed":["5.4.0"],"introduced":["5.0.0"],"last_affected":[],"package":"com.rabbitmq:amqp-client","purl":"pkg:maven/com.rabbitmq/amqp-client","source":"GHSA-w4g2-9hj6-5472"},{"ecosystem":"Maven","fixed":["1.7.10"],"introduced":["0"],"last_affected":[],"package":"org.springframework.amqp:spring-amqp","purl":null,"source":"GHSA-w4g2-9hj6-5472"},{"ecosystem":"Maven","fixed":["1.7.10"],"introduced":["0"],"last_affected":[],"package":"org.springframework.amqp:spring-amqp","purl":"pkg:maven/org.springframework.amqp/spring-amqp","source":"GHSA-w4g2-9hj6-5472"},{"ecosystem":"Maven","fixed":["2.0.6"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.amqp:spring-amqp","purl":null,"source":"GHSA-w4g2-9hj6-5472"},{"ecosystem":"Maven","fixed":["2.0.6"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.amqp:spring-amqp","purl":"pkg:maven/org.springframework.amqp/spring-amqp","source":"GHSA-w4g2-9hj6-5472"}],"prev":{"headline":"Privilege escalation in Application Service","id":"CVE-2018-11086"},"products":["Spring AMQP"],"published":"2018-09-14","related":[{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in Spring AMQP","id":"CVE-2017-8045","kev_date_added":null,"published":"2017-11-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-09-17","vendors":["Pivotal"]},"summary":"Attackers can intercept and view data in transit due to missing hostname validation in TLS connections.","url":"https://insights.sbomify.com/CVE-2018-11087/"}