{"answers":{"affected":"6 open source packages ship an affected version, including org.jboss.resteasy:resteasy-core. It affects 4 products.","exploited":"There is no known exploitation of CVE-2021-20289 in the wild and no public exploit code.","fix":"Upgrade org.jboss.resteasy:resteasy-core to a fixed version for your release line: 3.16.0, 4.5.10 or 4.6.1.","what":"CVE-2021-20289 is a medium-severity vulnerability in Netapp Oncommand Insight, published on 26 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-20289 and fix it if it is affected.\n\nWhat it is: CVE-2021-20289 is a medium-severity vulnerability in Netapp Oncommand Insight, published on 26 Mar 2021. 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-2021-20289 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jboss.resteasy:resteasy-core (Maven): affected from 3.0.0; fixed in 3.16.0\n- org.jboss.resteasy:resteasy-core (Maven): affected from 3.0.0; fixed in 3.16.0\n- org.jboss.resteasy:resteasy-core (Maven): affected from 4.0.0; fixed in 4.5.10\n- org.jboss.resteasy:resteasy-core (Maven): affected from 4.0.0; fixed in 4.5.10\n- org.jboss.resteasy:resteasy-core (Maven): affected from 4.6.0; fixed in 4.6.1\n- org.jboss.resteasy:resteasy-core (Maven): affected from 4.6.0; fixed in 4.6.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-2021-20289/ (Markdown: https://insights.sbomify.com/CVE-2021-20289/index.md)","id":"CVE-2021-20289","markdown":"https://insights.sbomify.com/CVE-2021-20289/index.md","name":"CVE-2021-20289","record":{"aliases":["GHSA-244r-fcj3-ghjq","OESA-2021-1171","UBUNTU-CVE-2021-20289"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"RESTEasy Java library","requires_auth":"none","summary":"Attackers can obtain internal endpoint class and method names via exception responses when parameter conversion fails, exposing sensitive application structure details.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"oncommand_insight","vendor":"netapp"},{"product":"communications_cloud_native_core_console","vendor":"oracle"},{"product":"quarkus","vendor":"quarkus"},{"product":"resteasy","vendor":"redhat"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"description":"A flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final. The endpoint class and method names are returned as part of the exception response when RESTEasy cannot convert one of the request URI path or query values to the matching JAX-RS resource method's parameter value. The highest threat from this vulnerability is to data confidentiality.","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":"Exposure of class information in RESTEasy","id":"CVE-2021-20289","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:oncommand_insight","products":["netapp:oncommand_insight"],"type":"information_disclosure","year":"2021"},"n_packages":6,"n_references":2,"next":{"headline":"Missing authorization in smart proxy openscap","id":"CVE-2021-20290"},"packages":[{"ecosystem":"Maven","fixed":["3.16.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":null,"source":"GHSA-244r-fcj3-ghjq"},{"ecosystem":"Maven","fixed":["3.16.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":"pkg:maven/org.jboss.resteasy/resteasy-core","source":"GHSA-244r-fcj3-ghjq"},{"ecosystem":"Maven","fixed":["4.5.10"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":null,"source":"GHSA-244r-fcj3-ghjq"},{"ecosystem":"Maven","fixed":["4.5.10"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":"pkg:maven/org.jboss.resteasy/resteasy-core","source":"GHSA-244r-fcj3-ghjq"},{"ecosystem":"Maven","fixed":["4.6.1"],"introduced":["4.6.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":null,"source":"GHSA-244r-fcj3-ghjq"},{"ecosystem":"Maven","fixed":["4.6.1"],"introduced":["4.6.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":"pkg:maven/org.jboss.resteasy/resteasy-core","source":"GHSA-244r-fcj3-ghjq"}],"prev":{"headline":"Auth bypass in ceph","id":"CVE-2021-20288"},"products":["resteasy"],"published":"2021-03-26","related":[{"cvss_score":9.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2017-5600","kev_date_added":null,"published":"2017-02-02"},{"cvss_score":8.8,"headline":"Spring Framework when used in combination with any versions of Spring Security contains an authorization bypass","id":"CVE-2018-1258","kev_date_added":null,"published":"2018-05-11"},{"cvss_score":8.7,"headline":"RFD Protection Bypass via jsessionid","id":"CVE-2020-5421","kev_date_added":null,"published":"2020-09-19"},{"cvss_score":8.6,"headline":"Auth bypass in OnCommand Insight","id":"CVE-2022-38733","kev_date_added":null,"published":"2022-12-20"},{"cvss_score":8.3,"headline":"MySQL Connectors takeover vulnerability","id":"CVE-2023-22102","kev_date_added":null,"published":"2023-10-17"},{"cvss_score":7.5,"headline":"Denial of service in MySQL Server","id":"CVE-2021-35583","kev_date_added":null,"published":"2021-10-20"},{"cvss_score":7.5,"headline":"RESTEasy 4.5.5.Final in hash flooding","id":"CVE-2020-14326","kev_date_added":null,"published":"2021-06-02"}],"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-08-03","vendors":["n/a"]},"summary":"Attackers can obtain internal endpoint class and method names via exception responses when parameter conversion fails, exposing sensitive application structure details.","url":"https://insights.sbomify.com/CVE-2021-20289/"}