Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-81322

NONE Gepubliceerd: CWE-200

Beschrijving NL

Blootstelling van gevoelige informatie aan een kwetsbaarheid van een onbevoegde acteur in Ash-project Ash_Cloak stelt iedereen met toegang tot logboeken, fouttrackers of crashrapporten, of iedereen die een validatiefout kan activeren, in staat om de platte tekst van een veld dat de bibliotheek versleutelt te herstellen. AshCloak.Transformers.SetUpEncryption verwijdert elk verhuld attribuut uit de acceptlijst van de actie en voegt een actieargument toe dat de platte tekst in de coderingswijziging brengt. Dat argument is gebouwd met Sensitive?: attr.sensitive?, waarbij de vlag wordt geërfd van het bronkenmerk, dus een verhuld kenmerk dat is gedeclareerd zonder Sensitive? true produceert een niet-gevoelig argument. Het is de enige plaats waar de cleartext-waarde leeft, en de enige plaats waar Ash niet zal redigeren: het lijkt letterlijk in inspecteren(wijzigingenset), Ash.Error.Invalid en validatiefoutmeldingen, telemetrie, :sys dumps, en error-tracker payloads. Het gegenereerde gecodeerde attribuut en de decoderingsberekening zijn al hardgecodeerd gevoelig. Dit probleem heeft invloed op Ash_Cloak: van 0.1.0 tot 0.4.0.

Origineel (Engels) tonen

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in ash-project ash_cloak allows anyone with access to logs, error trackers, or crash reports, or anyone who can trigger a validation error, to recover the plaintext of a field the library encrypts.

AshCloak.Transformers.SetUpEncryption removes each cloaked attribute from the action's accept list and adds an action argument that carries the plaintext into the encryption change. That argument is built with sensitive?: attr.sensitive?, inheriting the flag from the source attribute, so a cloaked attribute declared without sensitive? true produces a non-sensitive argument. It is the only place the cleartext value lives, and the one place Ash will not redact: it appears verbatim in inspect(changeset), Ash.Error.Invalid and validation error messages, telemetry, :sys dumps, and error-tracker payloads. The generated encrypted attribute and decrypt calculation are already hardcoded sensitive.

This issue affects ash_cloak: from 0.1.0 before 0.4.0.

References