The npm package 'undici' has a security vulnerability in its setCookie function, which does not fully sanitize cookie attributes. This flaw affects versions prior to 12.0.1-r0 and could lead to partial compromise of confidentiality and integrity without availability impact. A fix is available in version 12.0.1-r0.