Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS-2023-0366 (Medium) detected in rustix-0.37.19.crate #168

Open
mend-bolt-for-github bot opened this issue Nov 13, 2023 · 1 comment
Open

WS-2023-0366 (Medium) detected in rustix-0.37.19.crate #168

mend-bolt-for-github bot opened this issue Nov 13, 2023 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Nov 13, 2023

WS-2023-0366 - Medium Severity Vulnerability

Vulnerable Library - rustix-0.37.19.crate

Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls

Library home page: https://crates.io/api/v1/crates/rustix/0.37.19/download

Path to dependency file: /Cargo.toml

Path to vulnerable library: /Cargo.toml

Dependency Hierarchy:

  • criterion-0.5.1.crate (Root Library)
    • is-terminal-0.4.7.crate
      • rustix-0.37.19.crate (Vulnerable Library)

Found in base branch: master

Vulnerability Details

rustix's rustix::fs::Dir iterator with the linux_raw backend can cause memory explosion

Publish Date: 2023-10-18

URL: WS-2023-0366

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-c827-hfw6-qwvm

Release Date: 2023-10-18

Fix Resolution: rustix - 0.35.15,0.36.16,0.37.25,0.38.19


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Nov 13, 2023
@sunfishcode
Copy link

sunfishcode commented Nov 14, 2023

According to the checked-in Cargo.lock, homemaker depends on rustix through is-terminal, which does not use rustix::fs::Dir, so it is not affected by GHSA-c827-hfw6-qwvm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

1 participant