go.pprof-debug-exposure

返回列表 · CWE 索引

goWARNING规则详情

各语言消息对照

语言消息
de

Der Profiling-Endpunkt 'pprof' wird unter /debug/pprof automatisch bereitgestellt. Das kann Informationen über den Server preisgeben. Verwenden Sie stattdessen `import "net/http/pprof"`. Einzelheiten und Gegenmaßnahmen: https://www.farsightsecurity.com/blog/txt-record/go-remote-profiling-20161028/

en

The profiling 'pprof' endpoint is automatically exposed on /debug/pprof. This could leak information about the server. Instead, use `import "net/http/pprof"`. See https://www.farsightsecurity.com/blog/txt-record/go-remote-profiling-20161028/ for more information and mitigation.

fr

L'endpoint de profilage 'pprof' est automatiquement exposé sur /debug/pprof, ce qui peut divulguer des informations sur le serveur. Soyez prudent avec `import "net/http/pprof"`. Voir https://www.farsightsecurity.com/blog/txt-record/go-remote-profiling-20161028/ pour plus d'informations et les mesures d'atténuation.

ja

プロファイリング用の 'pprof' エンドポイントは /debug/pprof に自動的に公開され、サーバー情報が漏洩する恐れがあります。`import "net/http/pprof"` は慎重に使用してください。詳細と緩和策については https://www.farsightsecurity.com/blog/txt-record/go-remote-profiling-20161028/ を参照してください。

ko

프로파일링 'pprof' 엔드포인트는 /debug/pprof에 자동으로 노출되며 서버 정보를 유출할 수 있습니다. `import "net/http/pprof"`는 신중하게 사용하십시오. 자세한 내용과 완화 조치는 https://www.farsightsecurity.com/blog/txt-record/go-remote-profiling-20161028/ 에서 확인하십시오.

ru

Эндпоинт профилирования 'pprof' автоматически доступен на /debug/pprof и может раскрывать сведения о сервере. Будьте осторожны с `import "net/http/pprof"`. Подробнее и о мерах защиты: https://www.farsightsecurity.com/blog/txt-record/go-remote-profiling-20161028/ .

zh

性能分析 'pprof' 端点会自动暴露在 /debug/pprof,可能泄露服务器信息。请谨慎使用 `import "net/http/pprof"`。详情与缓解措施见 https://www.farsightsecurity.com/blog/txt-record/go-remote-profiling-20161028/ 。

zh-Hant

效能分析 'pprof' 端點會自動暴露在 /debug/pprof,可能洩漏伺服器資訊。請謹慎使用 `import "net/http/pprof"`。詳情與緩解措施見 https://www.farsightsecurity.com/blog/txt-record/go-remote-profiling-20161028/ 。

CWE 知识卡

语言名称修复建议
deRückstände von Debug-InformationenEntfernen Sie Debug-Endpunkte, ausführliche Stacktraces und Debug-Log-Schalter aus dem Produktivbuild.
en——
frCode de débogage actifRetirez des builds de production les points de terminaison de débogage, les piles d'appels détaillées et les interrupteurs de journalisation de débogage.
jaデバッグ情報の残存本番ビルドではデバッグ用エンドポイント、詳細なスタックトレース、デバッグログのスイッチを削除します。
ko디버그 정보 잔존프로덕션 빌드에서는 디버그 엔드포인트·상세 스택 트레이스·디버그 로그 스위치를 제거하십시오.
ruОстатки отладочной информацииВ production-сборке удаляйте отладочные эндпоинты, подробные стеки и переключатели отладочного журнала.
zh调试信息残留生产构建移除调试端点、详细堆栈与调试日志开关。
zh-Hant除錯資訊殘留生產建置移除除錯端點、詳細堆疊與除錯日誌開關。

OWASP

A06:2017 - Security Misconfiguration

元数据

likelihoodLOW
impactLOW
confidenceLOW

修复字段

fix无
fix-regex无

上游规则源

github.com/opengrep/opengrep-rules/tree/main/go/lang/security/audit/net/pprof.yaml