VDB
Sign up
HIGH7.5

GHSA-2qmw-pvf7-4mw6

Hashicorp Vault vulnerable to Improper Check or Handling of Exceptional Conditions

Quick fix

GHSA-2qmw-pvf7-4mw6 — github.com/hashicorp/vault: upgrade to the fixed version with the command below.

go get github.com/hashicorp/vault@v1.15.12

Details

Vault and Vault Enterprise did not properly handle requests originating from unauthorized IP addresses when the TCP listener option, proxy_protocol_behavior, was set to deny_unauthorized. When receiving a request from a source IP address that was not listed in proxy_protocol_authorized_addrs, the Vault API server would shut down and no longer respond to any HTTP requests, potentially resulting in denial of service.

While this bug also affected versions of Vault up to 1.17.1 and 1.16.5, a separate regression in those release series did not allow Vault operators to configure the deny_unauthorized option, thus not allowing the conditions for the denial of service to occur.

Fixed in Vault and Vault Enterprise 1.17.2, 1.16.6, and 1.15.12

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/hashicorp/vault
Introduced in: 1.10.0Fixed in: 1.15.12
Fixgo get github.com/hashicorp/vault@v1.15.12
Go/github.com/hashicorp/vault
Introduced in: 1.16.0-rc1Fixed in: 1.16.3
Fixgo get github.com/hashicorp/vault@v1.16.3
Go/github.com/hashicorp/vault
Introduced in: 1.17.0-rc1Fixed in: 1.17.2
Fixgo get github.com/hashicorp/vault@v1.17.2

References