VDB
Sign up
HIGH8.8

GHSA-4jj9-cgqc-x9h5

NeuVector OpenID Connect is vulnerable to man-in-the-middle (MITM)

Quick fix

GHSA-4jj9-cgqc-x9h5 — github.com/neuvector/neuvector: upgrade to the fixed version with the command below.

go get github.com/neuvector/neuvector@v5.4.8

Details

### Impact

NeuVector supports login authentication through OpenID Connect. However, the TLS verification (which verifies the remote server's authenticity and integrity) for OpenID Connect is not enforced by default. As a result this may expose the system to man-in-the-middle (MITM) attacks. Starting from version 5.4.0, NeuVector supports TLS verification for following connection types:

- Registry Connections - Auth Server Connections (SAML, LDAP and OIDC) - Webhook Connections

By default, TLS verification remains disabled, and its configuration is located under **Settings > Configuration in the NeuVector UI**.

In the patched version, the new NeuVector deployment enables TLS verification by default. For rolling upgrades, NeuVector does not automatically change this setting to prevent disruptions.

**Note:** When "TLS verification" is enabled, it affects all connections to:

- Registry servers - Auth servers (SAML, LDAP and OIDC) - Webhook servers

### Patches

Patched versions include release v5.4.8 and above.

### Workarounds

To manually enable TLS verification:

1. Open the NeuVector UI. 2. Navigate to **Settings > Configuration**. 3. In the **TLS Self-Signed Certificate Configuration** section, select **Enable TLS verification**. 4. (Optional) Upload or paste the **TLS self-signed certificate**.

### References

If you have any questions or comments about this advisory:

- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries. - Open an issue in the [NeuVector](https://github.com/neuvector/neuvector/issues/new/choose) repository. - Verify with our [support matrix](https://www.suse.com/suse-neuvector/support-matrix/all-supported-versions/neuvector-v-all-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/#suse-security).

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/neuvector/neuvector
Introduced in: 5.3.0Fixed in: 5.4.8
Fixgo get github.com/neuvector/neuvector@v5.4.8

References