unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47542: rust-stackvector package is vulnerable to CVE-2021-29939
@ 2021-04-01 13:47 Léo Le Bouter via Bug reports for GNU Guix
  2021-06-28  8:06 ` zimoun
  0 siblings, 1 reply; 2+ messages in thread
From: Léo Le Bouter via Bug reports for GNU Guix @ 2021-04-01 13:47 UTC (permalink / raw)
  To: 47542

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

CVE-2021-29939	07:15
An issue was discovered in the stackvector crate through 2021-02-19 for
Rust. There is an out-of-bounds write in StackVec::extend if size_hint
provides certain anomalous data.

No fix released upstream yet: 
https://github.com/Alexhuszagh/rust-stackvector/issues/2

Out of bounds write sounds like it could have dangerous consequences,
not sure how likely is "size_hint provides certain anomalous data"
though.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#47542: rust-stackvector package is vulnerable to CVE-2021-29939
  2021-04-01 13:47 bug#47542: rust-stackvector package is vulnerable to CVE-2021-29939 Léo Le Bouter via Bug reports for GNU Guix
@ 2021-06-28  8:06 ` zimoun
  0 siblings, 0 replies; 2+ messages in thread
From: zimoun @ 2021-06-28  8:06 UTC (permalink / raw)
  To: Léo Le Bouter; +Cc: 47542

Hi,

On Thu, 01 Apr 2021 at 15:47, Léo Le Bouter <lle-bout@zaclys.net> wrote:
> CVE-2021-29939	07:15
> An issue was discovered in the stackvector crate through 2021-02-19 for
> Rust. There is an out-of-bounds write in StackVec::extend if size_hint
> provides certain anomalous data.
>
> No fix released upstream yet:
> https://github.com/Alexhuszagh/rust-stackvector/issues/2
>
> Out of bounds write sounds like it could have dangerous consequences,
> not sure how likely is "size_hint provides certain anomalous data"
> though.

Thanks for the report.

Commit 015cd2e86e779907085d356c69b6091dc8ac1788 updating to 1.1.1 should
fix the security issue; as upstream said.  So, closing.

All the best,
simon




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-28  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 13:47 bug#47542: rust-stackvector package is vulnerable to CVE-2021-29939 Léo Le Bouter via Bug reports for GNU Guix
2021-06-28  8:06 ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).