title: Argo CD leaked secret data into error messages and logs on invalid edits via UI
description: Exposure of System Data to an Unauthorized Control Sphere vulnerability in web UI of Argo CD allows attacker to cause leaked secret data into web UI error messages and logs. This issue affects Argo CD 1.8 versions prior to 1.8.7; 1.7 versions prior to 1.7.14.
problem types: CWE-497 Exposure of System Data to an Unauthorized Control Sphere
affected:
{
product: Argo CD
vendor: Argo CD
versions:
lessThan: 1.8.7, status: affected, version: 1.8, versionType: custom
lessThan: 1.7.14, status: affected, version: 1.7, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: NONE
baseScore: 5.9
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: LOW
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
version: 3.1
]
exploits: When a user with update permissions to an Application was editing a Secret resources's manifest in the UI with invalid input (e.g. adding a new key with a value not encoded in base64), Argo CD would print the contents of the Secret as an error message in JSON format.
As this error message is user visible, this was effectively circumventing the redaction feature of Argo CD. Also, as this error message is being logged, the plain-text contents of the Secret ended up in the log files and possibly, in log management systems.
solutions: Patched versions: Argo CD 1.7.14, 1.8.7