Description
The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, which allows remote attackers to execute arbitrary code via a crafted string that triggers an eval operation.
Remediation
References
https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/
http://portal.nodesecurity.io/advisories/js-yaml
Related Vulnerabilities
CVE-2018-16473 Vulnerability in npm package takeapeek
CVE-2022-25881 Vulnerability in npm package http-cache-semantics
CVE-2022-37423 Vulnerability in maven package org.neo4j.procedure:apoc
CVE-2020-7727 Vulnerability in npm package gedi
CVE-2022-25894 Vulnerability in maven package com.bstek.uflo:uflo-core