CVE-2022-39397
Rust vulnerability analysis and mitigation

Overview

aliyun-oss-client, a Rust client for Alibaba Cloud OSS, was found to contain a vulnerability (CVE-2022-39397) where user secrets could be unintentionally disclosed. The vulnerability affects versions prior to 0.8.1 and was discovered and disclosed in November 2022 (GitHub Advisory).

Technical details

The vulnerability stems from improper handling of secret information in the authentication implementation. The issue was present in the auth.rs file where certain traits and methods were exposing sensitive authentication data. The vulnerability has a CVSS v3.1 base score of 5.6 (Moderate), with attack vector being Physical, attack complexity Low, requiring High privileges and User interaction, with Changed scope (GitHub Advisory).

Impact

When using the affected versions of the library, any incoming secrets would be unintentionally disclosed, potentially exposing sensitive authentication credentials to unauthorized parties. This could lead to unauthorized access to Alibaba Cloud OSS resources (GitHub Advisory).

Exploitability

The vulnerability requires physical access, high privileges, and user interaction to be exploited. While the attack complexity is low, the combination of required conditions makes it moderately difficult to exploit in practice (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 0.8.1 and 0.9.0. The fix involved making several traits and methods private to prevent secret exposure, as evidenced by the commit e4553f7. Users are advised to upgrade to these or later versions as there are no alternative workarounds available (GitHub Commit, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

RUSTSEC-2026-0242NONEN/A
  • Rust logoRust
  • dcrypt-api
NoYesAug 09, 2026
RUSTSEC-2026-0240NONEN/A
  • Rust logoRust
  • dcrypt-sign
NoYesAug 09, 2026
RUSTSEC-2026-0239NONEN/A
  • Rust logoRust
  • dcrypt-symmetric
NoYesAug 09, 2026
RUSTSEC-2026-0238NONEN/A
  • Rust logoRust
  • dcrypt-algorithms
NoYesAug 09, 2026
RUSTSEC-2026-0244NONEN/A
  • Rust logoRust
  • gettext-rs
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management