正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

Exposure of confidential secret or token SSH (EC) private key

Description

The response body contains content that matches the pattern of an SSH private key was identified. Private SSH keys are used for authentication and symmetric key exchange. A malicious actor with access to this key can use it to impersonate an application or service. Exposing this value could allow attackers to gain access to all resources granted by this token.

Remediation

For general guidance on handling security incidents with regards to leaked keys, please see the GitLab documentation on Credential exposure to the internet.

To generate a new ECDSA key, use the ssh-keygen tool:

ssh-keygen -t ecdsa

Note: Newer versions of SSH may output -----BEGIN OPENSSH PRIVATE KEY----- instead of -----BEGIN EC PRIVATE KEY-----

For more information, please see the ssh-keygen documentation.

Details

IDAggregatedCWETypeRisk
798.174false798PassiveHigh