製品・ソフトウェアに関する情報
TheCodingMachineのGotenbergにおける複数の脆弱性
Title TheCodingMachineのGotenbergにおける複数の脆弱性
Summary

GotenbergはPDFファイル用のDockerベースのステートレスAPIです。バージョン8.32.0より前のFilterOutboundURLはホスト名を解決し、その解決されたIPをプライベートアドレスの拒否リストと照合してエラーのみを返し、解決されたアドレスを破棄していました。Chromiumはその後、URLにナビゲートする際に独自のDNS解決を行います。攻撃者が短いTTLのホスト名のDNSを制御している場合、最初のクエリでパブリックIPを返し(Gotenbergはこれを許可します)、2回目のクエリでプライベートIPを返します(Chromiumは攻撃者が選択した内部アドレスに接続します)。CDPのFetch.requestPausedハンドラはURLを再確認しますが、独自のDNS解決を実行するため、Chromiumの実際のTCP接続が行われる前にタイミングの隙間が生じます。レンダリングされた内部サービスの応答はPDFとして呼び出し元に返されます。この脆弱性はバージョン8.32.0で修正されました。

Possible impacts 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 14, 2026, midnight
Registration Date May 20, 2026, 1:29 p.m.
Last Update May 20, 2026, 1:29 p.m.
CVSS3.0 : 警告
Score 5.3
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected System
TheCodingMachine
Gotenberg 8.32.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月20日]
  掲載
May 20, 2026, 1:29 p.m.

NVD Vulnerability Information
CVE-2026-42592
Summary

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, FilterOutboundURL resolves the hostname, checks the resolved IPs against the private-address deny-list, and returns only the error. It discards the resolved addresses. Chromium later performs its own DNS resolution when it navigates to the URL. An attacker who controls DNS for a hostname with a short TTL returns a public IP on the first query (Gotenberg allows) and a private IP on the second query (Chromium connects to the attacker-chosen internal address). The CDP Fetch.requestPaused handler re-checks the URL but runs its own DNS resolution, leaving a timing window before Chromium's actual TCP connect. The rendered internal service response returns to the caller as a PDF. This vulnerability is fixed in 8.32.0.

Publication Date May 15, 2026, 1:16 a.m.
Registration Date May 15, 2026, 4:25 a.m.
Last Update May 18, 2026, 10:02 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:* 8.32.0
Related information, measures and tools
Common Vulnerabilities List