{"answers":{"affected":"2 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-2019-10362 in the wild and no public exploit code.","fix":"Upgrade io.jenkins:configuration-as-code to 1.25 or later.","what":"CVE-2019-10362 is a medium-severity vulnerability in Jenkins Configuration as Code Plugin, published on 31 Jul 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-10362 and fix it if it is affected.\n\nWhat it is: CVE-2019-10362 is a medium-severity vulnerability in Jenkins Configuration as Code Plugin, published on 31 Jul 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-10362 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.25\n- io.jenkins:configuration-as-code (Maven): affected all versions; fixed in 1.25\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-2019-10362/ (Markdown: https://insights.sbomify.com/CVE-2019-10362/index.md)","id":"CVE-2019-10362","markdown":"https://insights.sbomify.com/CVE-2019-10362/index.md","name":"CVE-2019-10362","record":{"aliases":["GHSA-5r6p-p9r6-r326"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins Configuration as Code Plugin","requires_auth":"low_privilege","summary":"Attackers with system configuration permissions can read environment variables due to improper escaping during configuration export.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"configuration_as_code","vendor":"jenkins"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Jenkins Configuration as Code Plugin 1.24 and earlier did not escape values resulting in variable interpolation during configuration import when exporting, allowing attackers with permission to change Jenkins system configuration to obtain the values of environment variables.","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":"Improper Encoding or Escaping of Output in Jenkins Configuration as Code Plugin","id":"CVE-2019-10362","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2019"},"n_packages":2,"n_references":2,"next":{"headline":"Cleartext Transmission of Sensitive Information in Jenkins Configuration as Code Plugin","id":"CVE-2019-10363"},"packages":[{"ecosystem":"Maven","fixed":["1.25"],"introduced":["0"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":null,"source":"GHSA-5r6p-p9r6-r326"},{"ecosystem":"Maven","fixed":["1.25"],"introduced":["0"],"last_affected":[],"package":"io.jenkins:configuration-as-code","purl":"pkg:maven/io.jenkins/configuration-as-code","source":"GHSA-5r6p-p9r6-r326"}],"prev":{"headline":"Jenkins Maven Release Plug-in Plugin stored credentials in plain text","id":"CVE-2019-10361"},"products":["Jenkins Configuration as Code Plugin"],"published":"2019-07-31","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.3,"headline":"Observable Discrepancy and Observable Timing Discrepancy in Jenkins Configuration as Code Plugin","id":"CVE-2022-23106","kev_date_added":null,"published":"2022-01-12"},{"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-04","vendors":["Jenkins project"]},"summary":"Attackers with system configuration permissions can read environment variables due to improper escaping during configuration export.","url":"https://insights.sbomify.com/CVE-2019-10362/"}