Advisory

GHSA-fc4h-xcf3-qj5f

Also known as: RUSTSEC-2022-0062

Summary

matrix-sdk 0.6.0 logs access tokens

Details

When sending Matrix requests using an affected version of matrix-sdk in an application that writes logs using tracing-subscriber (in a way that includes fields of tracing spans such as tracing_subscribers default text output from the fmt module), these logs will contain the user's access token.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-10-25 20:22 UTC
Modified
2023-11-08 04:18 UTC

Affected packages and fixes

matrix-sdk

crates.io · All systems

Affected

  • introduced 0.6.0, fixed 0.6.2 (semver)

Fixed versions

0.6.2

Fix

  • Fixed version 0.6.2
    cargo update -p matrix-sdk --precise 0.6.2

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