Skip to content

RUSTSEC-2024-0375: atty is unmaintained #3343

Closed

Description

@github-actions

atty is unmaintained

Details
Status unmaintained
Package atty
Version 0.2.14
URL softprops/atty#57
Date 2024-09-25

The maintainer of atty has published an official notice that the crate is no longer
under development, and that users should instead rely on the functionality in the standard library's IsTerminal trait.

Alternative(s)

  • std::io::IsTerminal - Stable since Rust 1.70.0 and the recommended replacement per the atty maintainer.
  • is-terminal - Standalone crate supporting Rust older than 1.70.0

See advisory page for additional details.

Activity

  1. TheBlueMatt commented on Sep 30, 2024

    @TheBlueMatt
    Collaborator

    I can't even figure out where this is in our dep tree, but this isn't a "security issue", just an unmaintained crate that is probably so deep in our dep tree we don't even use it...

  2. vincenzopalazzo commented on Oct 1, 2024

    @vincenzopalazzo
    Member

    Looks like it is in criterion according to cargo audit

    Crate:     atty
    Version:   0.2.14
    Warning:   unmaintained
    Title:     `atty` is unmaintained
    Date:      2024-09-25
    ID:        RUSTSEC-2024-0375
    URL:       https://rustsec.org/advisories/RUSTSEC-2024-0375
    Dependency tree:
    atty 0.2.14
    └── criterion 0.4.0
        ├── lightning-rapid-gossip-sync 0.0.124
        │   └── lightning-background-processor 0.0.124
        ├── lightning-persister 0.0.124
        │   └── lightning-background-processor 0.0.124
        └── lightning 0.0.124
            ├── lightning-transaction-sync 0.0.124
            ├── lightning-rapid-gossip-sync 0.0.124
            ├── lightning-persister 0.0.124
            ├── lightning-net-tokio 0.0.124
            ├── lightning-custom-message 0.0.124
            ├── lightning-block-sync 0.0.124
            └── lightning-background-processor 0.0.124
    
    Crate:     atty
    Version:   0.2.14
    Warning:   unsound
    Title:     Potential unaligned read
    Date:      2021-07-04
    ID:        RUSTSEC-2021-0145
    URL:       https://rustsec.org/advisories/RUSTSEC-2021-0145
    
    warning: 2 allowed warnings found
    

    In any case, this should be fixed when one of the dependencies that it is using atty (probably criterion) upgrades?

  3. tnull commented on Oct 1, 2024

    @tnull
    Contributor

    I can't even figure out where this is in our dep tree, but this isn't a "security issue", just an unmaintained crate that is probably so deep in our dep tree we don't even use it...

    I think they somehow messed up (?) and updated the advisory number. We previously fixed this by ignoring RUSTSEC-2021-0145 in #2898

    If it pops up again, we might want to add RUSTSEC-2024-0375 to the ignore list as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions