Advisory

GHSA-c8xw-vjgf-94hr

Also known as: CVE-2023-40025, GO-2023-2018

Summary

Argo CD web terminal session doesn't expire

Details

Impact
All versions of Argo CD starting from v2.6.0 have a bug where open web terminal sessions do not expire. This bug allows users to send any websocket messages even if the token has already expired. The most straightforward scenario is when a user opens the terminal view and leaves it open for an extended period. This allows the user to view sensitive information even when they should have been logged out already.

Patches
A patch for this vulnerability has been released in the following Argo CD version:

  • v2.6.14
  • v2.7.12
  • v2.8.1

Workarounds
The only way to completely resolve the issue is to upgrade.

Mitigations
Disable web-based terminal or define RBAC rules to it
https://argo-cd.readthedocs.io/en/latest/operator-manual/web_based_terminal/

For more information
If you have any questions or comments about this advisory:

Credits

Thank you to bean.zhang (@zhlu32 ) of HIT-IDS ChunkL Team who discovered the issue and reported it confidentially according to our guidelines.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-08-23 17:50 UTC
Modified
2025-06-24 17:14 UTC

Affected packages and fixes

github.com/argoproj/argo-cd/v2

Go · All systems

Affected

  • introduced 2.6.0, fixed 2.6.14 (semver)

Fixed versions

2.6.14

Fix

github.com/argoproj/argo-cd/v2

Go · All systems

Affected

  • introduced 2.7.0, fixed 2.7.12 (semver)

Fixed versions

2.7.12

Fix

github.com/argoproj/argo-cd/v2

Go · All systems

Affected

  • introduced 2.8.0, fixed 2.8.1 (semver)

Fixed versions

2.8.1

Fix

github.com/argoproj/argo-cd/v2

Go · All systems

Affected

  • introduced 2.0.0-20230718200744-12a5a7a70d6e, fixed 2.0.0-20230821201509-e047efa8f951 (semver)

Fixed versions

2.0.0-20230821201509-e047efa8f951

Fix

  • Fixed version 2.0.0-20230821201509-e047efa8f951
    go get github.com/argoproj/argo-cd/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences