CVE-2020-24359:
Improper Input Validation in vault-ssh-helper
7.5
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
2/15/2022
Updated
10/2/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/hashicorp/vault-ssh-helper | go | < 0.2.0 | 0.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows a fundamental change in IP validation logic in validateIP() within helper/agent.go. The pre-0.2.0 code used net.Interface.Addrs() and CIDR range checks (belongsToCIDR), while the patched version compares exact IP addresses. The CVE description explicitly references this subnet vs specific IP validation flaw, and the added test cases in agent_test.go verify exact IP matching behavior.