Description
This affects the package nodemailer before 6.4.16. Use of crafted recipient email addresses may result in arbitrary command flag injection in sendmail transport for sending mails.
Remediation
References
https://github.com/nodemailer/nodemailer/blob/33b62e2ea6bc9215c99a9bb4bfba94e2fb27ebd0/lib/sendmail-transport/index.js%23L75
https://github.com/nodemailer/nodemailer/commit/ba31c64c910d884579875c52d57ac45acc47aa54
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1039742
https://snyk.io/vuln/SNYK-JS-NODEMAILER-1038834
Related Vulnerabilities
CVE-2023-3308 Vulnerability in maven package com.whaleal.icefrog:icefrog-all
CVE-2022-1295 Vulnerability in npm package fullpage.js
CVE-2021-23718 Vulnerability in npm package ssrf-agent
CVE-2018-16487 Vulnerability in npm package @sailshq/lodash
CVE-2017-12610 Vulnerability in maven package org.apache.kafka:kafka_2.10