ra-tls-clients: Privasys Intra-handshake attested TLS implementation is vulnerable to TOCTOU Attacks
What fixes it
- 0.9.1Privasys/ra-tls-clients, otherGitHub
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Privasys Remote Attestation TLS Clients provides multi-language utilities for verifying attested TLS connections. Before 0.9.1, an attacker with local access could modify workload code, data, and configuration at any time after successful connection establishment. Once Evidence was successfully appraised and the connection was established, there was a window of vulnerability from the establishment of the connection to the termination of the connection where an attacker could modify the state of the workload and platform at runtime on the TLS endpoint acting as the Attester. This vulnerability was possible because Privasys/ra-tls-clients performed attestation only once in the lifetime of the connection (at connection establishment time), and the verifying peer continued to believe that the state was the same as in the initial Evidence throughout, whereas it could be stale at some point in time. This vulnerability is fixed in 0.9.1.
Text from CVE List
Affected versions 2
- ra-tls-clientsaffected: < 0.9.1CVE List
- Privasys/ra-tls-clients, other<= v0.9.0GitHub
References 4
- github.com/Privasys/ra-tls-clients/commit/076074873117ee5ff35a7c39e02952c28de3df0cFixvia CVE List
- github.com/Privasys/ra-tls-clients/commit/5ccfd778132e17cb54bb1a9c7b89d57fcfea59ecFixvia CVE List
- github.com/Privasys/ra-tls-clients/commit/b9114d772a636ad3307957dde4bb8afe70c9b40dFixvia CVE List
- github.com/Privasys/ra-tls-clients/security/advisories/GHSA-gg8q-mfhh-wrrcAdvisoryvia CVE List