{"answers":{"affected":"6 open source packages ship an affected version, including org.wildfly.security:wildfly-elytron. It affects 13 products.","exploited":"There is no known exploitation of CVE-2021-3642 in the wild and no public exploit code.","fix":"Upgrade org.wildfly.security:wildfly-elytron to a fixed version for your release line: 1.10.14, 1.15.5 or 1.16.1.","what":"CVE-2021-3642 is a medium-severity vulnerability in Redhat Jboss Enterprise Application Platform, published on 5 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3642 and fix it if it is affected.\n\nWhat it is: CVE-2021-3642 is a medium-severity vulnerability in Redhat Jboss Enterprise Application Platform, published on 5 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3642 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.wildfly.security:wildfly-elytron (Maven): affected all versions; fixed in 1.10.14\n- org.wildfly.security:wildfly-elytron (Maven): affected all versions; fixed in 1.10.14\n- org.wildfly.security:wildfly-elytron (Maven): affected from 1.11.0; fixed in 1.15.5\n- org.wildfly.security:wildfly-elytron (Maven): affected from 1.11.0; fixed in 1.15.5\n- org.wildfly.security:wildfly-elytron (Maven): affected from 1.16.0; fixed in 1.16.1\n- org.wildfly.security:wildfly-elytron (Maven): affected from 1.16.0; fixed in 1.16.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-3642/ (Markdown: https://insights.sbomify.com/CVE-2021-3642/index.md)","id":"CVE-2021-3642","markdown":"https://insights.sbomify.com/CVE-2021-3642/index.md","name":"CVE-2021-3642","record":{"aliases":["GHSA-5499-qjvh-6j7w"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Wildfly Elytron library","requires_auth":"low_privilege","summary":"Attackers can exploit timing differences in ScramServer to potentially disclose sensitive information if the feature is enabled.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"quarkus","vendor":"quarkus"},{"product":"build_of_quarkus","vendor":"redhat"},{"product":"codeready_studio","vendor":"redhat"},{"product":"data_grid","vendor":"redhat"},{"product":"descision_manager","vendor":"redhat"},{"product":"integration_camel_k","vendor":"redhat"},{"product":"integration_camel_quarkus","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"jboss_enterprise_application_platform_expansion_pack","vendor":"redhat"},{"product":"jboss_fuse","vendor":"redhat"},{"product":"openshift_application_runtimes","vendor":"redhat"},{"product":"process_automation","vendor":"redhat"},{"product":"wildfly_elytron","vendor":"redhat"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"description":"A flaw was found in Wildfly Elytron in versions prior to 1.10.14.Final, prior to 1.15.5.Final and prior to 1.16.1.Final where ScramServer may be susceptible to Timing Attack if enabled. The highest threat of this vulnerability is 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":"Observable Discrepancy in Wildfly Elytron","id":"CVE-2021-3642","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform"],"type":"information_disclosure","year":"2021"},"n_packages":6,"n_references":1,"next":{"headline":"Information disclosure in sox","id":"CVE-2021-3643"},"packages":[{"ecosystem":"Maven","fixed":["1.10.14"],"introduced":["0"],"last_affected":[],"package":"org.wildfly.security:wildfly-elytron","purl":null,"source":"GHSA-5499-qjvh-6j7w"},{"ecosystem":"Maven","fixed":["1.10.14"],"introduced":["0"],"last_affected":[],"package":"org.wildfly.security:wildfly-elytron","purl":"pkg:maven/org.wildfly.security/wildfly-elytron","source":"GHSA-5499-qjvh-6j7w"},{"ecosystem":"Maven","fixed":["1.15.5"],"introduced":["1.11.0"],"last_affected":[],"package":"org.wildfly.security:wildfly-elytron","purl":null,"source":"GHSA-5499-qjvh-6j7w"},{"ecosystem":"Maven","fixed":["1.15.5"],"introduced":["1.11.0"],"last_affected":[],"package":"org.wildfly.security:wildfly-elytron","purl":"pkg:maven/org.wildfly.security/wildfly-elytron","source":"GHSA-5499-qjvh-6j7w"},{"ecosystem":"Maven","fixed":["1.16.1"],"introduced":["1.16.0"],"last_affected":[],"package":"org.wildfly.security:wildfly-elytron","purl":null,"source":"GHSA-5499-qjvh-6j7w"},{"ecosystem":"Maven","fixed":["1.16.1"],"introduced":["1.16.0"],"last_affected":[],"package":"org.wildfly.security:wildfly-elytron","purl":"pkg:maven/org.wildfly.security/wildfly-elytron","source":"GHSA-5499-qjvh-6j7w"}],"prev":{"headline":"Improper Link Resolution Before File Access in Bitdefender GravityZone (VA-9921)","id":"CVE-2021-3641"},"products":["wildfly-elytron"],"published":"2021-08-05","related":[{"cvss_score":9.8,"headline":"Code injection in quarkus dev ui config editor","id":"CVE-2022-4116","kev_date_added":null,"published":"2022-11-22"},{"cvss_score":9.8,"headline":"Quarkus does not terminate HTTP requests header context","id":"CVE-2022-2466","kev_date_added":null,"published":"2022-08-31"},{"cvss_score":9.1,"headline":"Io.quarkus:quarkus-security-webauthn: quarkus webauthn unexpected authentication bypass","id":"CVE-2024-12225","kev_date_added":null,"published":"2025-05-06"},{"cvss_score":8.8,"headline":"Quarkus authorization bypass via semicolon path normalization inconsistency","id":"CVE-2026-39852","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":8.8,"headline":"Privilege escalation in quarkus","id":"CVE-2022-0981","kev_date_added":null,"published":"2022-03-23"},{"cvss_score":8.6,"headline":"Quarkus: json payload getting processed prior to security checks when rest resources are used with annotations.","id":"CVE-2023-6267","kev_date_added":null,"published":"2024-01-25"},{"cvss_score":8.1,"headline":"Quarkus: http security policy bypass","id":"CVE-2023-4853","kev_date_added":null,"published":"2023-09-20"}],"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 exploit timing differences in ScramServer to potentially disclose sensitive information if the feature is enabled.","url":"https://insights.sbomify.com/CVE-2021-3642/"}