{"answers":{"affected":"2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 2 products.","exploited":"There is no known exploitation of CVE-2017-2582 in the wild and no public exploit code.","fix":"Upgrade org.keycloak:keycloak-core to 2.5.1 or later.","what":"CVE-2017-2582 is a medium-severity vulnerability in Redhat Jboss Enterprise Application Platform, published on 26 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-2582 and fix it if it is affected.\n\nWhat it is: CVE-2017-2582 is a medium-severity vulnerability in Redhat Jboss Enterprise Application Platform, published on 26 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-2582 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-core (Maven): affected all versions; fixed in 2.5.1\n- org.keycloak:keycloak-core (Maven): affected all versions; fixed in 2.5.1\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-2582/ (Markdown: https://insights.sbomify.com/CVE-2017-2582/index.md)","id":"CVE-2017-2582","markdown":"https://insights.sbomify.com/CVE-2017-2582/index.md","name":"CVE-2017-2582","record":{"aliases":["GHSA-c77r-6f64-478q","RHSA-2017:3216","RHSA-2017:3217","RHSA-2017:3218","RHSA-2017:3219","RHSA-2019:0136","RHSA-2019:0137"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Keycloak identity server","requires_auth":"low_privilege","summary":"An attacker can read system property values from the Keycloak server by crafting a malicious SAML request ID field.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"keycloak","vendor":"redhat"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"description":"It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the \"InResponseTo\" field in the response.","ecosystems":["Maven","Red Hat:jboss_enterprise_application_platform:6::el5","Red Hat:jboss_enterprise_application_platform:6::el6","Red Hat:jboss_enterprise_application_platform:6::el7","Red Hat:jboss_enterprise_application_platform:7.2::el6","Red Hat:jboss_enterprise_application_platform:7.2::el7"],"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":"keycloak-core discloses system properties","id":"CVE-2017-2582","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform","redhat:keycloak"],"type":"information_disclosure","year":"2017"},"n_packages":1074,"n_references":20,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2017-2583"},"packages":[{"ecosystem":"Maven","fixed":["2.5.1"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-core","purl":null,"source":"GHSA-c77r-6f64-478q"},{"ecosystem":"Maven","fixed":["2.5.1"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","source":"GHSA-c77r-6f64-478q"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:2.3.25-24.SP22_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"hornetq","purl":"pkg:rpm/redhat/hornetq","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-appclient","purl":"pkg:rpm/redhat/jboss-as-appclient","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-cli","purl":"pkg:rpm/redhat/jboss-as-cli","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-client-all","purl":"pkg:rpm/redhat/jboss-as-client-all","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-clustering","purl":"pkg:rpm/redhat/jboss-as-clustering","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-cmp","purl":"pkg:rpm/redhat/jboss-as-cmp","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-configadmin","purl":"pkg:rpm/redhat/jboss-as-configadmin","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-connector","purl":"pkg:rpm/redhat/jboss-as-connector","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-controller","purl":"pkg:rpm/redhat/jboss-as-controller","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-controller-client","purl":"pkg:rpm/redhat/jboss-as-controller-client","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-core-security","purl":"pkg:rpm/redhat/jboss-as-core-security","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-deployment-repository","purl":"pkg:rpm/redhat/jboss-as-deployment-repository","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-deployment-scanner","purl":"pkg:rpm/redhat/jboss-as-deployment-scanner","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-domain-http","purl":"pkg:rpm/redhat/jboss-as-domain-http","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-domain-management","purl":"pkg:rpm/redhat/jboss-as-domain-management","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-ee","purl":"pkg:rpm/redhat/jboss-as-ee","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-ee-deployment","purl":"pkg:rpm/redhat/jboss-as-ee-deployment","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-ejb3","purl":"pkg:rpm/redhat/jboss-as-ejb3","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-embedded","purl":"pkg:rpm/redhat/jboss-as-embedded","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-host-controller","purl":"pkg:rpm/redhat/jboss-as-host-controller","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-jacorb","purl":"pkg:rpm/redhat/jboss-as-jacorb","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-jaxr","purl":"pkg:rpm/redhat/jboss-as-jaxr","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-jaxrs","purl":"pkg:rpm/redhat/jboss-as-jaxrs","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-jdr","purl":"pkg:rpm/redhat/jboss-as-jdr","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-jmx","purl":"pkg:rpm/redhat/jboss-as-jmx","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-jpa","purl":"pkg:rpm/redhat/jboss-as-jpa","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-jsf","purl":"pkg:rpm/redhat/jboss-as-jsf","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-jsr77","purl":"pkg:rpm/redhat/jboss-as-jsr77","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-logging","purl":"pkg:rpm/redhat/jboss-as-logging","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-mail","purl":"pkg:rpm/redhat/jboss-as-mail","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-management-client-content","purl":"pkg:rpm/redhat/jboss-as-management-client-content","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-messaging","purl":"pkg:rpm/redhat/jboss-as-messaging","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-modcluster","purl":"pkg:rpm/redhat/jboss-as-modcluster","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-naming","purl":"pkg:rpm/redhat/jboss-as-naming","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-network","purl":"pkg:rpm/redhat/jboss-as-network","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-osgi","purl":"pkg:rpm/redhat/jboss-as-osgi","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-osgi-configadmin","purl":"pkg:rpm/redhat/jboss-as-osgi-configadmin","source":"RHSA-2017:3216"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.18-1.Final_redhat_1.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jboss-as-osgi-service","purl":"pkg:rpm/redhat/jboss-as-osgi-service","source":"RHSA-2017:3216"}],"prev":{"headline":"Memory corruption in netpbm","id":"CVE-2017-2581"},"products":["keycloak"],"published":"2018-07-26","related":[{"cvss_score":9.8,"headline":"Red Hat JBoss Application Server Remote Code Execution","id":"CVE-2017-12149","kev_date_added":"2021-12-10","published":"2017-10-04"},{"cvss_score":5.9,"headline":"Red Hat JBoss Information Disclosure","id":"CVE-2010-1428","kev_date_added":"2022-05-25","published":"2010-04-28"},{"cvss_score":3.7,"headline":"Red Hat JBoss Authentication Bypass","id":"CVE-2010-0738","kev_date_added":"2022-05-25","published":"2010-04-28"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2016-3690","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":9.8,"headline":"Deserialization in JBoss","id":"CVE-2017-7504","kev_date_added":null,"published":"2017-05-19"},{"cvss_score":9.8,"headline":"XML external entity in JBoss Enterprise Application Platform","id":"CVE-2017-7503","kev_date_added":null,"published":"2017-05-18"},{"cvss_score":9.8,"headline":"Improper Input Validation in JGroups","id":"CVE-2016-2141","kev_date_added":null,"published":"2016-06-30"}],"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":"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":["Red Hat"]},"summary":"An attacker can read system property values from the Keycloak server by crafting a malicious SAML request ID field.","url":"https://insights.sbomify.com/CVE-2017-2582/"}