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

Should we use the audit workflow in CI? #25

Open
github-actions bot opened this issue Aug 16, 2023 · 5 comments
Open

Should we use the audit workflow in CI? #25

github-actions bot opened this issue Aug 16, 2023 · 5 comments

Comments

@github-actions
Copy link

Potential unaligned read

Details
Status unsound
Package atty
Version 0.2.14
URL softprops/atty#50
Date 2021-07-04

On windows, atty dereferences a potentially unaligned pointer.

In practice however, the pointer won't be unaligned unless a custom global allocator is used.

In particular, the System allocator on windows uses HeapAlloc, which guarantees a large enough alignment.

atty is Unmaintained

A Pull Request with a fix has been provided over a year ago but the maintainer seems to be unreachable.

Last release of atty was almost 3 years ago.

Possible Alternative(s)

The below list has not been vetted in any way and may or may not contain alternatives;

See advisory page for additional details.

@wileyj
Copy link

wileyj commented Aug 16, 2023

@Acaccia https://github.com/stacks-network/clarity-wasm/blob/main/.github/workflows/audit-on-new-deps.yaml this is a great workflow to have enabled, but as you're seeing can be incredibly chatty, especially as the project/repo grows.
the same goes with clippy workflows

@Acaccia
Copy link
Collaborator

Acaccia commented Aug 16, 2023

@wileyj I see that :/ I will disable both I guess.

@wileyj
Copy link

wileyj commented Aug 16, 2023

i wouldn't go that far just yet - but maybe have a plan for how to update these deps (combined with an ignore list)?
i'm a fan of the idea here, and i'd like to do similar for the blockchain repo - but (same with clippy) i found it can be very chatty and you don't always want to update a dependency if you're not affected by a cve.

@Acaccia
Copy link
Collaborator

Acaccia commented Aug 17, 2023

I don't have time for dealing with this right now, but yes, I will open an issue to see what we can do about it later. Thank you for the advice @wileyj :)

@obycode
Copy link
Collaborator

obycode commented Aug 21, 2023

This dependency comes from clarity-repl. I'll rename the issue and leave it open for the discussion.

@obycode obycode changed the title RUSTSEC-2021-0145: Potential unaligned read Should we use the audit workflow in CI? Aug 21, 2023
@github-project-automation github-project-automation bot moved this to Status: 🆕 New in Stacks Core Eng Oct 2, 2023
@obycode obycode moved this from Status: 🆕 New to Status: 📋 Backlog in Stacks Core Eng Oct 2, 2023
@smcclellan smcclellan added this to the WASM Phase 3 milestone Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Status: 📋 Backlog
Development

No branches or pull requests

4 participants