{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-40342 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-40342 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-40342 is a high-severity vulnerability in Hitachi Energy FOXMAN-UN, published on 5 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-40342 and fix it if it is affected.\n\nWhat it is: CVE-2021-40342 is a high-severity vulnerability in Hitachi Energy FOXMAN-UN, published on 5 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-40342 in the wild and no public exploit code.\n\nAffected product: Hitachi Energy FOXMAN-UN. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-40342/ (Markdown: https://insights.sbomify.com/CVE-2021-40342/index.md)","id":"CVE-2021-40342","markdown":"https://insights.sbomify.com/CVE-2021-40342/index.md","name":"CVE-2021-40342","record":{"aliases":["GHSA-747r-gwxx-f5r5"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Hitachi Energy network management","requires_auth":"none","summary":"Attackers can decrypt sensitive data and access managed network elements due to the use of a default encryption key in the DES implementation.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Hitachi Energy","cpe":[{"product":"foxman-un","vendor":"hitachienergy"},{"product":"unem","vendor":"hitachienergy"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-798","name":"Use of Hard-coded Credentials"}],"description":"In the DES implementation, the affected product versions use a default key for encryption. Successful exploitation allows an attacker to obtain sensitive information and gain access to the network elements that are managed by the affected products versions.\n\nThis issue affects \n\n  *  FOXMAN-UN product: FOXMAN-UN R16A, FOXMAN-UN R15B, FOXMAN-UN R15A, FOXMAN-UN R14B, FOXMAN-UN R14A, FOXMAN-UN R11B, FOXMAN-UN R11A, FOXMAN-UN R10C, FOXMAN-UN R9C; \n  *  UNEM product: UNEM R16A, UNEM R15B, UNEM R15A, UNEM R14B, UNEM R14A, UNEM R11B, UNEM R11A, UNEM R10C, UNEM R9C.\n\nList of CPEs: \n  *  cpe:2.3:a:hitachienergy:foxman-un:R16A:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:foxman-un:R15B:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:foxman-un:R15A:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:foxman-un:R14B:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:foxman-un:R14A:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:foxman-un:R11B:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:foxman-un:R11A:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:foxman-un:R10C:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:foxman-un:R9C:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:unem:R16A:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:unem:R15B:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:unem:R15A:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:unem:R14B:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:unem:R14A:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:unem:R11B:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:unem:R11A:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:unem:R10C:*:*:*:*:*:*:*\n  *  cpe:2.3:a:hitachienergy:unem:R9C:*:*:*:*:*:*:*","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Use of default key for encryption","id":"CVE-2021-40342","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"hardcoded_credentials","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2021-40343"},"packages":[],"prev":{"headline":"Weak DES encryption","id":"CVE-2021-40341"},"products":["FOXMAN-UN","UNEM"],"published":"2023-01-05","related":[{"cvss_score":10,"headline":"Auth bypass in FOXMAN-UN","id":"CVE-2024-2013","kev_date_added":null,"published":"2024-06-11"},{"cvss_score":9.1,"headline":"Auth bypass in FOXMAN-UN","id":"CVE-2024-2012","kev_date_added":null,"published":"2024-06-11"},{"cvss_score":8.6,"headline":"Memory corruption in FOXMAN-UN","id":"CVE-2024-2011","kev_date_added":null,"published":"2024-06-11"},{"cvss_score":8.3,"headline":"Communication between the client and server partially using CORBA over TCP/IP","id":"CVE-2022-3929","kev_date_added":null,"published":"2023-01-05"},{"cvss_score":8,"headline":"Hardcoded credentials in FOXMAN-UN","id":"CVE-2024-28020","kev_date_added":null,"published":"2024-06-11"},{"cvss_score":8,"headline":"Hardcoded credentials in FOXMAN-UN","id":"CVE-2022-3927","kev_date_added":null,"published":"2023-01-05"},{"cvss_score":7.4,"headline":"Security feature bypass in FOXMAN-UN","id":"CVE-2024-28021","kev_date_added":null,"published":"2024-06-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-10","vendors":["Hitachi Energy"]},"summary":"Attackers can decrypt sensitive data and access managed network elements due to the use of a default encryption key in the DES implementation.","url":"https://insights.sbomify.com/CVE-2021-40342/"}