{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-32647 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-32647 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-32647 is a high-severity code injection vulnerability in NationalSecurityAgency emissary, published on 28 May 2021. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-32647 and fix it if it is affected.\n\nWhat it is: CVE-2021-32647 is a high-severity code injection vulnerability in NationalSecurityAgency emissary, published on 28 May 2021. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-32647 in the wild and no public exploit code.\n\nAffected product: NationalSecurityAgency emissary. 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-32647/ (Markdown: https://insights.sbomify.com/CVE-2021-32647/index.md)","id":"CVE-2021-32647","markdown":"https://insights.sbomify.com/CVE-2021-32647/index.md","name":"CVE-2021-32647","record":{"aliases":["GHSA-ph73-7v9r-wg32"],"analysis":{"component_type":"server_software","fix_type":"workaround","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Emissary workflow engine","requires_auth":"high_privilege","summary":"Post-authentication attackers can achieve remote code execution or denial of service by loading arbitrary classes via the CreatePlace endpoint.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"emissary","vendor":"nsa"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"Emissary is a P2P based data-driven workflow engine. Affected versions of Emissary are vulnerable to post-authentication Remote Code Execution (RCE). The [`CreatePlace`](https://github.com/NationalSecurityAgency/emissary/blob/30c54ef16c6eb6ed09604a929939fb9f66868382/src/main/java/emissary/server/mvc/internal/CreatePlaceAction.java#L36) REST endpoint accepts an `sppClassName` parameter which is used to load an arbitrary class. This class is later instantiated using a constructor with the following signature: `\u003cconstructor\u003e(String, String, String)`. An attacker may find a gadget (class) in the application classpath that could be used to achieve Remote Code Execution (RCE) or disrupt the application. Even though the chances to find a gadget (class) that allow arbitrary code execution are low, an attacker can still find gadgets that could potentially crash the application or leak sensitive data. As a work around disable network access to Emissary from untrusted sources.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Post-authentication Remote Code Execution (RCE) in emissary:emissary","id":"CVE-2021-32647","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"October CMS Improper Authentication","id":"CVE-2021-32648"},"packages":[],"prev":{"headline":"Escalation of permissions in roomer","id":"CVE-2021-32646"},"products":["emissary"],"published":"2021-05-28","related":[{"cvss_score":9.1,"headline":"Emissary has GitHub Actions Shell Injection via Workflow Inputs","id":"CVE-2026-35580","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.8,"headline":"Emissary has an OS Command Injection via Unvalidated IN_FILE_ENDING / OUT_FILE_ENDING in Executrix","id":"CVE-2026-35582","kev_date_added":null,"published":"2026-04-18"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2021-32094","kev_date_added":null,"published":"2021-05-07"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2021-32096","kev_date_added":null,"published":"2021-05-07"},{"cvss_score":8.1,"headline":"Missing authorization in n/a","id":"CVE-2021-32095","kev_date_added":null,"published":"2021-05-07"},{"cvss_score":7.2,"headline":"Emissary has a Command Injection via PLACE_NAME Configuration in Executrix","id":"CVE-2026-35581","kev_date_added":null,"published":"2026-04-07"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["NationalSecurityAgency"]},"summary":"Post-authentication attackers can achieve remote code execution or denial of service by loading arbitrary classes via the CreatePlace endpoint.","url":"https://insights.sbomify.com/CVE-2021-32647/"}