Paper/Archive/CVE-2021-41110

CVE-2021-41110

common-workflow-language cwlviewer — CWL Viewer: deserialization of untrusted data can lead to complete takeover by an attacker

Description · from the CVE record

cwlviewer is a web application to view and share Common Workflow Language workflows. Versions prior to 1.3.1 contain a Deserialization of Untrusted Data vulnerability. Commit number f6066f09edb70033a2ce80200e9fa9e70a5c29de (dated 2021-09-30) contains a patch. There are no available workarounds aside from installing the patch. The SnakeYaml constructor, by default, allows any data to be parsed. To fix the issue the object needs to be created with a `SafeConstructor` object, as seen in the patch.

Affected

ProductAffectedFixed inSource
cwlviewer< 1.3.1–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References

refgithub.com/common-workflow-language/cwlviewer/security/advisories/GHSA-7g7j-f5g3-fqp7refgithub.com/common-workflow-language/cwlviewer/commit/f6066f09edb70033a2ce80200e9fa9e70a5c29dereffatalerrors.org/a/analysis-of-the-snakeyaml-deserialization-in-java-security.html