{"answers":{"affected":"8 open source packages ship an affected version, including io.jenkins:configuration-as-code. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23106 in the wild and no public exploit code.","fix":"Upgrade io.jenkins:configuration-as-code to a fixed version for your release line: 1.47.1, 1.53.1, 1.54.1 or 1.55.1.","what":"CVE-2022-23106 is a medium-severity vulnerability in Jenkins Configuration as Code Plugin, published on 12 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-23106 and fix it if it is affected.\n\nWhat it is: CVE-2022-23106 is a medium-severity vulnerability in Jenkins Configuration as Code Plugin, published on 12 Jan 2022. 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-2022-23106 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.jenkins:configuration-as-code (Maven): affected all versions; fixed in 1.47.1\n- io.jenkins:configuration-as-code (Maven): affected all versions; fixed in 1.47.1\n- io.jenkins:configuration-as-code (Maven): affected from 1.48; fixed in 1.53.1\n- io.jenkins:configuration-as-code (Maven): affected from 1.48; fixed in 1.53.1\n- io.jenkins:configuration-as-code (Maven): affected from 1.54; fixed in 1.54.1\n- io.jenkins:configuration-as-code (Maven): affected from 1.54; fixed in 1.54.1\n- io.jenkins:configuration-as-code (Maven): affected from 1.55; fixed in 1.55.1\n- io.jenkins:configuration-as-code (Maven): affected from 1.55; fixed in 1.55.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-2022-23106/ (Markdown: https://insights.sbomify.com/CVE-2022-23106/index.md)","id":"CVE-2022-23106","markdown":"https://insights.sbomify.com/CVE-2022-23106/index.md","name":"CVE-2022-23106","record":{"aliases":["GHSA-fpj7-9xm6-8hgr"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins Configuration as Code Plugin","requires_auth":"none","summary":"Attackers can bypass authentication token validation in the Jenkins Configuration as Code Plugin using timing attacks to obtain valid tokens.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"configuration_as_code","vendor":"jenkins"}],"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-203","name":"Observable Discrepancy"}],"description":"Jenkins Configuration as Code Plugin 1.55 and earlier used a non-constant time comparison function when validating an authentication token allowing attackers to use statistical methods to obtain a valid authentication token.","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 and Observable Timing Discrepancy in Jenkins Configuration as Code Plugin","id":"CVE-2022-23106","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"security_feature_bypass","year":"2022"},"n_packages":8,"n_references":2,"next":{"headline":"Path Traversal in Jenkins Warnings Next Generation Plugin","id":"CVE-2022-23107"},"packages":[{"ecosystem":"Maven","fixed":["1.47.1"],"introduced":["0"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":null,"source":"GHSA-fpj7-9xm6-8hgr"},{"ecosystem":"Maven","fixed":["1.47.1"],"introduced":["0"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":"pkg:maven/io.jenkins/configuration-as-code","source":"GHSA-fpj7-9xm6-8hgr"},{"ecosystem":"Maven","fixed":["1.53.1"],"introduced":["1.48"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":null,"source":"GHSA-fpj7-9xm6-8hgr"},{"ecosystem":"Maven","fixed":["1.53.1"],"introduced":["1.48"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":"pkg:maven/io.jenkins/configuration-as-code","source":"GHSA-fpj7-9xm6-8hgr"},{"ecosystem":"Maven","fixed":["1.54.1"],"introduced":["1.54"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":null,"source":"GHSA-fpj7-9xm6-8hgr"},{"ecosystem":"Maven","fixed":["1.54.1"],"introduced":["1.54"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":"pkg:maven/io.jenkins/configuration-as-code","source":"GHSA-fpj7-9xm6-8hgr"},{"ecosystem":"Maven","fixed":["1.55.1"],"introduced":["1.55"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":null,"source":"GHSA-fpj7-9xm6-8hgr"},{"ecosystem":"Maven","fixed":["1.55.1"],"introduced":["1.55"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":"pkg:maven/io.jenkins/configuration-as-code","source":"GHSA-fpj7-9xm6-8hgr"}],"prev":{"headline":"User passwords transmitted in plain text by Jenkins Active Directory Plugin","id":"CVE-2022-23105"},"products":["Jenkins Configuration as Code Plugin"],"published":"2022-01-12","related":[{"cvss_score":8.8,"headline":"Jenkins Configuration as Code Plugin has Insufficiently Protected Credentials","id":"CVE-2018-1000610","kev_date_added":null,"published":"2018-06-26"},{"cvss_score":6.5,"headline":"Jenkins Configuration as Code Plugin vulnerable to Exposure of Sensitive Information","id":"CVE-2018-1000609","kev_date_added":null,"published":"2018-06-26"},{"cvss_score":5.5,"headline":"Insertion of Sensitive Information into Log File in Jenkins Configuration as Code Plugin","id":"CVE-2019-10367","kev_date_added":null,"published":"2019-08-07"},{"cvss_score":5.5,"headline":"Plaintext Storage of a Password in Jenkins Configuration as Code Plugin","id":"CVE-2019-10345","kev_date_added":null,"published":"2019-07-31"},{"cvss_score":5.4,"headline":"Improper Encoding or Escaping of Output in Jenkins Configuration as Code Plugin","id":"CVE-2019-10362","kev_date_added":null,"published":"2019-07-31"},{"cvss_score":4.9,"headline":"Cleartext Transmission of Sensitive Information in Jenkins Configuration as Code Plugin","id":"CVE-2019-10363","kev_date_added":null,"published":"2019-07-31"}],"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":["Jenkins project"]},"summary":"Attackers can bypass authentication token validation in the Jenkins Configuration as Code Plugin using timing attacks to obtain valid tokens.","url":"https://insights.sbomify.com/CVE-2022-23106/"}