ChoeMinji / kubernetes-1.12.0

Apache License 2.0
0 stars 0 forks source link

CVE-2022-30636 (Medium) detected in github.com/cloudflare/cfssl-1.3.2, github.com/golang/crypto-v0.0.0-20180904163835-0709b304e793 #121

Open mend-bolt-for-github[bot] opened 1 month ago

mend-bolt-for-github[bot] commented 1 month ago

CVE-2022-30636 - Medium Severity Vulnerability

Vulnerable Libraries - github.com/cloudflare/cfssl-1.3.2, github.com/golang/crypto-v0.0.0-20180904163835-0709b304e793

github.com/cloudflare/cfssl-1.3.2

CFSSL: Cloudflare's PKI and TLS toolkit

Dependency Hierarchy: - :x: **github.com/cloudflare/cfssl-1.3.2** (Vulnerable Library)

github.com/golang/crypto-v0.0.0-20180904163835-0709b304e793

[mirror] Go supplementary cryptography libraries

Library home page: https://proxy.golang.org/github.com/golang/crypto/@v/v0.0.0-20180904163835-0709b304e793.zip

Dependency Hierarchy: - :x: **github.com/golang/crypto-v0.0.0-20180904163835-0709b304e793** (Vulnerable Library)

Found in HEAD commit: cd87321da747fd23c6285641b10b0432943dfed6

Found in base branch: master

Vulnerability Details

httpTokenCacheKey uses path.Base to extract the expected HTTP-01 token value to lookup in the DirCache implementation. On Windows, path.Base acts differently to filepath.Base, since Windows uses a different path separator (\ vs. /), allowing a user to provide a relative path, i.e. .well-known/acme-challenge/..\..\asd becomes ..\..\asd. The extracted path is then suffixed with +http-01, joined with the cache directory, and opened. Since the controlled path is suffixed with +http-01 before opening, the impact of this is significantly limited, since it only allows reading arbitrary files on the system if and only if they have this suffix.

Publish Date: 2024-07-02

URL: CVE-2022-30636

CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2022-30636

Release Date: 2024-07-02

Fix Resolution: github.com/golang/crypto-v0.1.0


Step up your Open Source Security Game with Mend here