Nodemailer (npm package `nodemailer`) versions 9.1.0 and earlier do not honor the `disableFileAccess` and `disableUrlAccess` sandbox options when mess...
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| Ubuntu:20.04:LTSnode-nodemailer |
すべての版→ 記載なし |
記載なし |
| Ubuntu:22.04:LTSnode-nodemailer |
すべての版→ 記載なし |
記載なし |
| Ubuntu:24.04:LTSnode-nodemailer |
すべての版→ 記載なし |
記載なし |
| Ubuntu:26.10node-nodemailer |
すべての版→ 記載なし |
記載なし |
| Ubuntu:26.04:LTSnode-nodemailer |
すべての版→ 記載なし |
記載なし |
この記録には修正版の版が載っていません。修正版の有無と版は、本文か参照URLのベンダーの勧告で確かめてください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Nodemailer (npm package nodemailer) versions 9.1.0 and earlier do not honor the disableFileAccess and disableUrlAccess sandbox options when message content is resolved through the public plugin API MailMessage.resolveContent() using the documented legacy three-argument signature resolveContent(data, key, callback). Because shared.resolveContent() normalizes the missing options argument to an empty object, the message-level flags copied into mail.data by the MailMessage constructor are discarded, and resolveContentValue() skips both access-control checks, reaching nmfetch(url) or fs.createReadStream(path). As a result, plugin or application code that resolves untrusted message content (html, text, attachment path or href) via this API can be induced to read arbitrary local files or issue outbound HTTP(S) requests (server-side request forgery), bypassing the sandbox the application enabled. The internal paths used by transporter.sendMail() (resolveAll(), _convertDataImages(), and the MIME streaming path) are not affected. Fixed in version 9.1.1.
出典: OSV.dev (Open Source Vulnerabilities) OSV
参照URL
- report ubuntu.com
- report cve.org
- report github.com