From 3e110388dcd5a41642ef89aeef669d1117c45c19 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 9 Sep 2021 16:21:48 +0000 Subject: [PATCH] Update gh-pages --- advisories/index.html | 1150 ++++++++++++++++++------------------- feed.xml | 2 +- packages/http.html | 12 +- packages/hyper.html | 12 +- packages/openssl-src.html | 68 +-- packages/raw-cpuid.html | 12 +- packages/rulinalg.html | 12 +- 7 files changed, 634 insertions(+), 634 deletions(-) diff --git a/advisories/index.html b/advisories/index.html index a17690c70..81c7fcf8c 100644 --- a/advisories/index.html +++ b/advisories/index.html @@ -209,11 +209,11 @@

- - RUSTSEC-2021-0073: Vulnerability in prost-types + + RUSTSEC-2021-0075: Vulnerability in ark-r1cs-std

-

Conversion from prost_types::Timestamp to SystemTime can cause an overflow and panic

+

Flaw in FieldVar::mul_by_inverse allows unsound R1CS constraint systems

@@ -243,11 +243,11 @@

- - RUSTSEC-2021-0075: Vulnerability in ark-r1cs-std + + RUSTSEC-2021-0073: Vulnerability in prost-types

-

Flaw in FieldVar::mul_by_inverse allows unsound R1CS constraint systems

+

Conversion from prost_types::Timestamp to SystemTime can cause an overflow and panic

@@ -260,11 +260,11 @@

- - RUSTSEC-2021-0079: Vulnerability in hyper + + RUSTSEC-2021-0072: Vulnerability in tokio

-

Integer overflow in hyper's parsing of the Transfer-Encoding header leads to data loss

+

Task dropped in wrong thread when aborting LocalSet task

@@ -294,11 +294,11 @@

- - RUSTSEC-2021-0072: Vulnerability in tokio + + RUSTSEC-2021-0079: Vulnerability in hyper

-

Task dropped in wrong thread when aborting LocalSet task

+

Integer overflow in hyper's parsing of the Transfer-Encoding header leads to data loss

@@ -497,40 +497,6 @@ -

- - RUSTSEC-2021-0058: Vulnerability in openssl-src - -

-

Null pointer deref in X509_issuer_and_serial_hash()

-
- - - -
  • - - - - -

    - - RUSTSEC-2021-0055: Vulnerability in openssl-src - -

    -

    NULL pointer deref in signature_algorithms processing

    -
    - -
  • - -
  • - - - -

    RUSTSEC-2021-0057: Vulnerability in openssl-src @@ -548,6 +514,23 @@ +

    + + RUSTSEC-2021-0058: Vulnerability in openssl-src + +

    +

    Null pointer deref in X509_issuer_and_serial_hash()

    +
    + +

  • + +
  • + + + +

    RUSTSEC-2021-0056: Vulnerability in openssl-src @@ -559,18 +542,18 @@

  • -

    - - RUSTSEC-2021-0060: aes-soft is unmaintained + + RUSTSEC-2021-0055: Vulnerability in openssl-src

    -

    aes-soft has been merged into the aes crate

    +

    NULL pointer deref in signature_algorithms processing

  • @@ -599,6 +582,23 @@ +

    + + RUSTSEC-2021-0060: aes-soft is unmaintained + +

    +

    aes-soft has been merged into the aes crate

    +
    + + + +
  • + + + +

    RUSTSEC-2021-0059: aesni is unmaintained @@ -854,6 +854,23 @@ +

    + + RUSTSEC-2021-0047: Vulnerability in slice-deque + +

    +

    SliceDeque::drain_filter can double drop an element if the predicate panics

    +
    + +

  • + +
  • + + + +

    RUSTSEC-2021-0048: Vulnerability in stackvector @@ -888,23 +905,6 @@ -

    - - RUSTSEC-2021-0047: Vulnerability in slice-deque - -

    -

    SliceDeque::drain_filter can double drop an element if the predicate panics

    -
    - -

  • - -
  • - - - -

    CVE-2021-28878: Vulnerability in std @@ -922,23 +922,6 @@ -

    - - RUSTSEC-2021-0030: Vulnerability in scratchpad - -

    -

    move_elements can double-free objects on panic

    -
    - -

  • - -
  • - - - -

    RUSTSEC-2021-0049: Vulnerability in through @@ -956,6 +939,23 @@ +

    + + RUSTSEC-2021-0030: Vulnerability in scratchpad + +

    +

    move_elements can double-free objects on panic

    +
    + +

  • + +
  • + + + +

    CVE-2021-28879: Vulnerability in std @@ -973,6 +973,23 @@ +

    + + RUSTSEC-2021-0043: Vulnerability in uu_od + +

    +

    PartialReader passes uninitialized memory to user-provided Read

    +
    + +

  • + +
  • + + + +

    RUSTSEC-2021-0046: Vulnerability in telemetry @@ -1000,23 +1017,6 @@

  • -
  • - - - - -

    - - RUSTSEC-2021-0043: Vulnerability in uu_od - -

    -

    PartialReader passes uninitialized memory to user-provided Read

    -
    - -
  • -
  • @@ -1212,11 +1212,11 @@

    - - RUSTSEC-2021-0018: Vulnerability in qwutils + + RUSTSEC-2021-0094: Unsoundness in rdiff

    -

    insert_slice_clone can double drop if Clone panics.

    +

    Window can read out of bounds if Read instance returns more bytes than buffer size

    @@ -1279,23 +1279,6 @@ -

    - - RUSTSEC-2021-0016: Vulnerability in ms3d - -

    -

    IoReader::read(): user-provided Read on uninitialized buffer may cause UB

    -
    - - - -
  • - - - -

    RUSTSEC-2021-0092: Vulnerability in messagepack-rs @@ -1340,6 +1323,23 @@

  • +
  • + + + + +

    + + RUSTSEC-2021-0016: Vulnerability in ms3d + +

    +

    IoReader::read(): user-provided Read on uninitialized buffer may cause UB

    +
    + +
  • +
  • @@ -1382,11 +1382,11 @@

    - - RUSTSEC-2021-0089: Vulnerability in raw-cpuid + + RUSTSEC-2021-0083: Vulnerability in derive-com-impl

    -

    Optional Deserialize implementations lacking validation

    +

    QueryInterface should call AddRef before returning pointer

    @@ -1467,11 +1467,11 @@

    - - RUSTSEC-2021-0009: Vulnerability in basic_dsp_matrix + + RUSTSEC-2021-0005: Vulnerability in glsl-layout

    -

    panic safety issue in impl TransformContent<S, D> for [S; (2|3|4)]

    +

    Double drop upon panic in 'fn map_array()'

    @@ -1484,11 +1484,11 @@

    - - RUSTSEC-2021-0005: Vulnerability in glsl-layout + + RUSTSEC-2021-0009: Vulnerability in basic_dsp_matrix

    -

    Double drop upon panic in 'fn map_array()'

    +

    panic safety issue in impl TransformContent<S, D> for [S; (2|3|4)]

    @@ -1552,11 +1552,11 @@

    - - RUSTSEC-2021-0086: Unsoundness in flumedb + + RUSTSEC-2021-0027: Vulnerability in bam

    -

    Read on uninitialized buffer may cause UB ( read_entry() )

    +

    Loading a bgzip block can write out of bounds if size overflows.

    @@ -1585,40 +1585,6 @@ -

    - - RUSTSEC-2021-0007: Vulnerability in av-data - -

    -

    Frame::copy_from_raw_parts can lead to segfault without unsafe

    -
    - - - -
  • - - - - -

    - - RUSTSEC-2021-0027: Vulnerability in bam - -

    -

    Loading a bgzip block can write out of bounds if size overflows.

    -
    - -
  • - -
  • - - - -

    RUSTSEC-2021-0087: Unsoundness in columnar @@ -1629,6 +1595,40 @@

  • +
  • + + + + +

    + + RUSTSEC-2021-0086: Unsoundness in flumedb + +

    +

    Read on uninitialized buffer may cause UB ( read_entry() )

    +
    + +
  • + +
  • + + + + +

    + + RUSTSEC-2021-0007: Vulnerability in av-data + +

    +

    Frame::copy_from_raw_parts can lead to segfault without unsafe

    +
    + +
  • +
  • @@ -1722,11 +1722,11 @@

    - - RUSTSEC-2021-0001: Vulnerability in mdbook + + RUSTSEC-2021-0011: Vulnerability in fil-ocl

    -

    XSS in mdBook's search page

    +

    EventList's From conversions can double drop on panic.

    @@ -1848,40 +1848,6 @@ -

    - - RUSTSEC-2020-0132: Vulnerability in array-tools - -

    -

    FixedCapacityDequeLike::clone() can cause dropping uninitialized memory

    -
    - - - -
  • - - - - -

    - - RUSTSEC-2020-0154: Unsoundness in buffoon - -

    -

    InputStream::read_exact : Read on uninitialized buffer causes UB

    -
    - -
  • - -
  • - - - -

    RUSTSEC-2020-0103: Vulnerability in autorand @@ -1899,6 +1865,23 @@ +

    + + RUSTSEC-2020-0132: Vulnerability in array-tools + +

    +

    FixedCapacityDequeLike::clone() can cause dropping uninitialized memory

    +
    + +

  • + +
  • + + + +

    RUSTSEC-2020-0153: Unsoundness in bite @@ -1909,6 +1892,23 @@

  • +
  • + + + + +

    + + RUSTSEC-2020-0154: Unsoundness in buffoon + +

    +

    InputStream::read_exact : Read on uninitialized buffer causes UB

    +
    + +
  • +
  • + +
  • + + + +

    RUSTSEC-2020-0109: stderr is unmaintained @@ -1994,23 +2011,6 @@

  • -
  • - - - - -

    - - RUSTSEC-2020-0114: Vulnerability in va-ts - -

    -

    Demuxer can carry non-Send types across thread boundaries

    -
    - -
  • -
  • @@ -2053,11 +2053,11 @@

    - - RUSTSEC-2020-0095: difference is unmaintained + + RUSTSEC-2020-0108: Vulnerability in eventio

    -

    difference is unmaintained

    +

    Soundness issue: Input can be misused to create data race to an object

    @@ -2087,11 +2087,28 @@

    - - RUSTSEC-2020-0098: Unsoundness in rusb + + RUSTSEC-2020-0129: Vulnerability in kekbit

    -

    UsbContext trait did not require implementers to be Send and Sync.

    +

    ShmWriter allows sending non-Send type across threads

    +
    + + + +
  • + + + + +

    + + RUSTSEC-2020-0127: Vulnerability in v9 + +

    +

    SyncRef's clone() and debug() allow data races

  • @@ -2138,45 +2155,11 @@

    - - RUSTSEC-2020-0129: Vulnerability in kekbit + + RUSTSEC-2020-0098: Unsoundness in rusb

    -

    ShmWriter allows sending non-Send type across threads

    -
    - - - -
  • - - - - -

    - - RUSTSEC-2020-0127: Vulnerability in v9 - -

    -

    SyncRef's clone() and debug() allow data races

    -
    - -
  • - -
  • - - - - -

    - - RUSTSEC-2020-0150: Vulnerability in disrustor - -

    -

    RingBuffer can create multiple mutable references and cause data races

    +

    UsbContext trait did not require implementers to be Send and Sync.

  • @@ -2199,35 +2182,18 @@
  • -
  • - -
  • - - - - -

    - - RUSTSEC-2020-0097: Unsoundness in xcb - -

    -

    Soundness issue with base::Error

    +

    RingBuffer can create multiple mutable references and cause data races

  • @@ -2256,6 +2222,23 @@ +

    + + RUSTSEC-2020-0097: Unsoundness in xcb + +

    +

    Soundness issue with base::Error

    +
    + + + +
  • + + + +

    RUSTSEC-2020-0148: Vulnerability in cgc @@ -2284,18 +2267,18 @@

  • -

    - - RUSTSEC-2020-0089: Vulnerability in nanorand + + RUSTSEC-2020-0091: Vulnerability in arc-swap

    -

    nanorand 0.5.0 - RNGs failed to generate properly for non-64-bit numbers

    +

    Dangling reference in access::Map with Constant

  • @@ -2318,18 +2301,18 @@
  • -
  • @@ -2359,11 +2342,11 @@

    - - RUSTSEC-2020-0104: Vulnerability in gfwx + + RUSTSEC-2020-0124: Vulnerability in async-coap

    -

    ImageChunkMut needs bounds on its Send and Sync traits

    +

    ArcGuard's Send and Sync should have bounds on RC

    @@ -2385,6 +2368,23 @@ +
  • + + + + +

    + + RUSTSEC-2020-0104: Vulnerability in gfwx + +

    +

    ImageChunkMut needs bounds on its Send and Sync traits

    +
    + +
  • +
  • + +
  • + + + +

    RUSTSEC-2020-0086: safe_core is unmaintained @@ -2443,23 +2460,6 @@ -

    - - RUSTSEC-2020-0085: safe_vault is unmaintained - -

    -

    crate has been renamed to sn_node

    -
    - -

  • - -
  • - - - -

    CVE-2020-36318: Vulnerability in std @@ -2528,6 +2528,23 @@ +

    + + RUSTSEC-2020-0142: Vulnerability in syncpool + +

    +

    Send bound needed on T (for Send impl of Bucket2)

    +
    + +

  • + +
  • + + + +

    RUSTSEC-2020-0088: Vulnerability in magnetic @@ -2555,23 +2572,6 @@

  • -
  • - - - - -

    - - RUSTSEC-2020-0142: Vulnerability in syncpool - -

    -

    Send bound needed on T (for Send impl of Bucket2)

    -
    - -
  • -
  • - -
  • - - - -

    RUSTSEC-2020-0128: Vulnerability in cache @@ -2640,6 +2623,23 @@

  • +
  • + + + + +

    + + RUSTSEC-2020-0125: Vulnerability in convec + +

    +

    convec::ConVec unconditionally implements Send/Sync

    +
    + +
  • +
  • @@ -2682,11 +2682,11 @@

    - - RUSTSEC-2020-0135: Vulnerability in slock + + RUSTSEC-2020-0087: Vulnerability in try-mutex

    -

    Slock allows sending non-Send types across thread boundaries

    +

    TryMutex allows sending non-Send type across threads

    @@ -2750,11 +2750,11 @@

    - - RUSTSEC-2020-0149: Vulnerability in appendix + + RUSTSEC-2020-0116: Vulnerability in unicycle

    -

    Data race and memory safety issue in Index

    +

    PinSlab and Unordered<T, S> need bounds on their Send/Sync traits

    @@ -2767,11 +2767,11 @@

    - - RUSTSEC-2020-0126: Vulnerability in signal-simple + + RUSTSEC-2020-0136: Vulnerability in toolshed

    -

    SyncChannel can move 'T: !Send' to other threads

    +

    CopyCell lacks bounds on its Send trait allowing for data races

    @@ -2801,11 +2801,11 @@

    - - RUSTSEC-2020-0116: Vulnerability in unicycle + + RUSTSEC-2020-0149: Vulnerability in appendix

    -

    PinSlab and Unordered<T, S> need bounds on their Send/Sync traits

    +

    Data race and memory safety issue in Index

    @@ -2818,28 +2818,11 @@

    - - RUSTSEC-2020-0136: Vulnerability in toolshed + + RUSTSEC-2020-0126: Vulnerability in signal-simple

    -

    CopyCell lacks bounds on its Send trait allowing for data races

    -
    - - - -
  • - - - - -

    - - RUSTSEC-2020-0134: Vulnerability in parc - -

    -

    LockWeak<T> allows to create data race to T.

    +

    SyncChannel can move 'T: !Send' to other threads

  • @@ -2861,6 +2844,23 @@ +
  • + + + + +

    + + RUSTSEC-2020-0134: Vulnerability in parc + +

    +

    LockWeak<T> allows to create data race to T.

    +
    + +
  • +
  • + +
  • + + + + +

    + + RUSTSEC-2020-0107: Vulnerability in hashconsing + +

    +

    hashconsing's HConsed lacks Send/Sync bound for its Send/Sync trait.

    +
    + +
  • + +
  • + + + + +

    + + RUSTSEC-2020-0120: Unsoundness in libsbc + +

    +

    Decoder<R> can carry R: !Send to other threads

    +
    + +
  • + +
  • + + + +

    RUSTSEC-2020-0138: Vulnerability in lexer @@ -3004,23 +3055,6 @@ -

    - - RUSTSEC-2020-0107: Vulnerability in hashconsing - -

    -

    hashconsing's HConsed lacks Send/Sync bound for its Send/Sync trait.

    -
    - -

  • - -
  • - - - -

    RUSTSEC-2020-0102: Vulnerability in late-static @@ -3038,23 +3072,6 @@ -

    - - RUSTSEC-2020-0120: Unsoundness in libsbc - -

    -

    Decoder<R> can carry R: !Send to other threads

    -
    - -

  • - -
  • - - - -

    RUSTSEC-2020-0137: Vulnerability in lever @@ -3065,23 +3082,6 @@

  • -
  • - - - - -

    - - RUSTSEC-2020-0140: Unsoundness in model - -

    -

    Shared can cause a data race

    -
    - -
  • -
  • @@ -3124,11 +3124,11 @@

    - - RUSTSEC-2020-0070: Unsoundness in lock_api + + RUSTSEC-2020-0068: Vulnerability in multihash

    -

    Some lock_api lock guard objects can cause data races

    +

    Unexpected panic in multihash from_slice parsing code

    @@ -3192,11 +3192,28 @@

    - - RUSTSEC-2020-0076: routing is unmaintained + + RUSTSEC-2020-0066: safe_bindgen is unmaintained

    -

    crate has been renamed to sn_routing

    +

    crate has been renamed to sn_bindgen

    +
    + + + +
  • + + + + +

    + + RUSTSEC-2020-0067: quic-p2p is unmaintained + +

    +

    crate has been renamed to qp2p

  • @@ -3243,28 +3260,11 @@

    - - RUSTSEC-2020-0066: safe_bindgen is unmaintained + + RUSTSEC-2020-0076: routing is unmaintained

    -

    crate has been renamed to sn_bindgen

    -
    - - - -
  • - - - - -

    - - RUSTSEC-2020-0081: Unsoundness in mio - -

    -

    mio invalidly assumes the memory layout of std::net::SocketAddr

    +

    crate has been renamed to sn_routing

  • @@ -3294,11 +3294,11 @@

    - - RUSTSEC-2020-0067: quic-p2p is unmaintained + + RUSTSEC-2020-0081: Unsoundness in mio

    -

    crate has been renamed to qp2p

    +

    mio invalidly assumes the memory layout of std::net::SocketAddr

    @@ -3407,8 +3407,8 @@ -

    - RUSTSEC-2020-0054 +

    + RUSTSEC-2020-0053

    (withdrawn advisory) @@ -3420,8 +3420,8 @@ -

    - RUSTSEC-2020-0053 +

    + RUSTSEC-2020-0054

    (withdrawn advisory) @@ -3435,8 +3435,8 @@

    - - RUSTSEC-2020-0057: block-cipher is unmaintained + + RUSTSEC-2020-0058: stream-cipher is unmaintained

    crate has been renamed to cipher

    @@ -3452,8 +3452,8 @@

    - - RUSTSEC-2020-0058: stream-cipher is unmaintained + + RUSTSEC-2020-0057: block-cipher is unmaintained

    crate has been renamed to cipher

    @@ -3605,11 +3605,11 @@

    - - RUSTSEC-2020-0038: Vulnerability in ordnung + + RUSTSEC-2020-0039: Vulnerability in simple-slab

    -

    Memory safety issues in compact::Vec

    +

    index() allows out-of-bound read and remove() has off-by-one error

    @@ -3639,11 +3639,11 @@

    - - RUSTSEC-2020-0039: Vulnerability in simple-slab + + RUSTSEC-2020-0038: Vulnerability in ordnung

    -

    index() allows out-of-bound read and remove() has off-by-one error

    +

    Memory safety issues in compact::Vec

    @@ -3672,6 +3672,23 @@ +

    + + RUSTSEC-2020-0033: Vulnerability in alg_ds + +

    +

    Matrix::new() drops uninitialized memory

    +
    + + + +
  • + + + +

    RUSTSEC-2020-0034: Vulnerability in arr @@ -3699,23 +3716,6 @@

  • -
  • - - - - -

    - - RUSTSEC-2020-0033: Vulnerability in alg_ds - -

    -

    Matrix::new() drops uninitialized memory

    -
    - -
  • -
  • @@ -4098,11 +4098,11 @@

    - - RUSTSEC-2020-0013: Vulnerability in fake-static + + RUSTSEC-2020-0012: Vulnerability in os_str_bytes

    -

    fake-static allows converting any reference into a 'static reference

    +

    Relies on undefined behavior of char::from_u32_unchecked

    @@ -4234,11 +4234,11 @@

    - - RUSTSEC-2020-0005: Vulnerability in cbox + + RUSTSEC-2020-0008: Vulnerability in hyper

    -

    CBox API allows to de-reference raw pointers without unsafe code

    +

    Flaw in hyper allows request smuggling by sending a body in GET requests

    @@ -4251,11 +4251,11 @@

    - - RUSTSEC-2020-0008: Vulnerability in hyper + + RUSTSEC-2020-0005: Vulnerability in cbox

    -

    Flaw in hyper allows request smuggling by sending a body in GET requests

    +

    CBox API allows to de-reference raw pointers without unsafe code

    @@ -4285,11 +4285,11 @@

    - - RUSTSEC-2020-0023: Vulnerability in rulinalg + + RUSTSEC-2020-0147: rulinalg is unmaintained

    -

    Lifetime boundary for raw_slice and raw_slice_mut are incorrect

    +

    rulinalg is unmaintained, use nalgebra instead

    @@ -4302,11 +4302,11 @@

    - - RUSTSEC-2020-0147: rulinalg is unmaintained + + RUSTSEC-2020-0023: Vulnerability in rulinalg

    -

    rulinalg is unmaintained, use nalgebra instead

    +

    Lifetime boundary for raw_slice and raw_slice_mut are incorrect

    @@ -4369,23 +4369,6 @@ -

    - - RUSTSEC-2020-0062: Vulnerability in futures-util - -

    -

    Improper Sync implementation on FuturesUnordered in futures-utils can cause data corruption

    -
    - - - -
  • - - - -

    RUSTSEC-2020-0048: Vulnerability in actix-http @@ -4420,6 +4403,23 @@ +

    + + RUSTSEC-2020-0062: Vulnerability in futures-util + +

    +

    Improper Sync implementation on FuturesUnordered in futures-utils can cause data corruption

    +
    + +

  • + +
  • + + + +

    RUSTSEC-2020-0004: Vulnerability in lucet-runtime-internals @@ -4561,11 +4561,11 @@

    - - RUSTSEC-2019-0034: Vulnerability in http + + RUSTSEC-2019-0033: Vulnerability in http

    -

    HeaderMap::Drain API is unsound

    +

    Integer Overflow in HeaderMap::reserve() can cause Denial of Service

  • @@ -4578,11 +4578,11 @@

    - - RUSTSEC-2019-0033: Vulnerability in http + + RUSTSEC-2019-0034: Vulnerability in http

    -

    Integer Overflow in HeaderMap::reserve() can cause Denial of Service

    +

    HeaderMap::Drain API is unsound

    @@ -4748,11 +4748,11 @@

    - - RUSTSEC-2019-0022: Vulnerability in portaudio-rs + + RUSTSEC-2019-0021: Vulnerability in linea

    -

    Stream callback function is not unwind safe

    +

    Matrix::zip_elements causes double free

    @@ -4765,11 +4765,11 @@

    - - RUSTSEC-2019-0021: Vulnerability in linea + + RUSTSEC-2019-0022: Vulnerability in portaudio-rs

    -

    Matrix::zip_elements causes double free

    +

    Stream callback function is not unwind safe

    @@ -4816,11 +4816,11 @@

    - - RUSTSEC-2019-0016: Vulnerability in chttp + + RUSTSEC-2019-0017: Vulnerability in once_cell

    -

    Use-after-free in buffer conversion implementation

    +

    Panic during initialization of Lazy might trigger undefined behavior

    @@ -4833,11 +4833,11 @@

    - - RUSTSEC-2019-0017: Vulnerability in once_cell + + RUSTSEC-2019-0016: Vulnerability in chttp

    -

    Panic during initialization of Lazy might trigger undefined behavior

    +

    Use-after-free in buffer conversion implementation

    @@ -4986,11 +4986,11 @@

    - - RUSTSEC-2019-0006: Vulnerability in ncurses + + RUSTSEC-2019-0005: Vulnerability in pancurses

    -

    Buffer overflow and format vulnerabilities in functions exposed without unsafe

    +

    Format string vulnerabilities in pancurses

    @@ -5003,11 +5003,11 @@

    - - RUSTSEC-2019-0005: Vulnerability in pancurses + + RUSTSEC-2019-0006: Vulnerability in ncurses

    -

    Format string vulnerabilities in pancurses

    +

    Buffer overflow and format vulnerabilities in functions exposed without unsafe

    @@ -5385,8 +5385,8 @@

    - - RUSTSEC-2018-0006: Vulnerability in yaml-rust + + RUSTSEC-2018-0005: Vulnerability in serde_yaml

    Uncontrolled recursion leads to abort in deserialization

    @@ -5402,8 +5402,8 @@

    - - RUSTSEC-2018-0005: Vulnerability in serde_yaml + + RUSTSEC-2018-0006: Vulnerability in yaml-rust

    Uncontrolled recursion leads to abort in deserialization

    diff --git a/feed.xml b/feed.xml index a0a7abe9a..40fe59e56 100644 --- a/feed.xml +++ b/feed.xml @@ -1 +1 @@ -RustSec Advisorieshttps://rustsec.org/feed.xml2021-08-25T00:00:00+00:00RustSechttps://rustsec.org/favicon.icoSecurity advisories filed against Rust cratesRUSTSEC-2021-0099: cosmos_sdk is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2021-0099.html2021-08-25T00:00:00+00:002021-08-25T00:00:00+00:00Crate has been renamed to `cosmrs` <article> <header> <h1> RUSTSEC-2021-0099 </h1> <span class="subtitle"><p>Crate has been renamed to <code>cosmrs</code></p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-25"> August 25, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/cosmos_sdk.html">cosmos_sdk</a> (<a href="https://crates.io/crates/cosmos_sdk">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Unmaintained </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;cosmos&#x2f;cosmos-rust&#x2f;issues&#x2f;113"> https:&#x2f;&#x2f;github.com&#x2f;cosmos&#x2f;cosmos-rust&#x2f;issues&#x2f;113 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> </dl> <h3 id="description">Description</h3> <p>The <code>cosmos_sdk</code> crate, which provides a basic Rust SDK for the Cosmos ecosystem, has rebranded to “CosmRS” in the spirit of other projects like CosmJS and CosmWasm.</p> <p>You can find the new home here:</p> <p>https://github.com/cosmos/cosmos-rust/tree/main/cosmrs</p> <p>The new crate name is <code>cosmrs</code>:</p> <p>https://crates.io/crates/cosmrs</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/cosmos_sdk/RUSTSEC-2021-0099.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/cosmos_sdk/RUSTSEC-2021-0099.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0098: Vulnerability in openssl-srchttps://rustsec.org/advisories/RUSTSEC-2021-0098.html2021-08-24T00:00:00+00:002021-08-24T00:00:00+00:00Read buffer overruns processing ASN.1 strings <article> <header> <h1> RUSTSEC-2021-0098 </h1> <span class="subtitle"><p>Read buffer overruns processing ASN.1 strings</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-24"> August 24, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/openssl-src.html">openssl-src</a> (<a href="https://crates.io/crates/openssl-src">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>denial-of-service</li> <li>crypto-failure</li> </ul> </dd> <dt id="aliases">Aliases</dt> <dd> <ul> <li> <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-3712">CVE-2021-3712</a> </li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210824.txt"> https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210824.txt </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=111.16</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are represented as a buffer for the string data which is terminated with a NUL (0) byte.</p> <p>Although not a strict requirement, ASN.1 strings that are parsed using OpenSSL's own &quot;d2i&quot; functions (and other similar parsing functions) as well as any string whose value has been set with the ASN1_STRING_set() function will additionally NUL terminate the byte array in the ASN1_STRING structure.</p> <p>However, it is possible for applications to directly construct valid ASN1_STRING structures which do not NUL terminate the byte array by directly setting the &quot;data&quot; and &quot;length&quot; fields in the ASN1_STRING array. This can also happen by using the <code>ASN1_STRING_set0()</code> function.</p> <p>Numerous OpenSSL functions that print ASN.1 data have been found to assume that the ASN1_STRING byte array will be NUL terminated, even though this is not guaranteed for strings that have been directly constructed. Where an application requests an ASN.1 structure to be printed, and where that ASN.1 structure contains ASN1_STRINGs that have been directly constructed by the application without NUL terminating the &quot;data&quot; field, then a read buffer overrun can occur.</p> <p>The same thing can also occur during name constraints processing of certificates (for example if a certificate has been directly constructed by the application instead of loading it via the OpenSSL parsing functions, and the certificate contains non NUL terminated ASN1_STRING structures). It can also occur in the <code>X509_get1_email()</code>, <code>X509_REQ_get1_email()</code> and <code>X509_get1_ocsp()</code> functions.</p> <p>If a malicious actor can cause an application to directly construct an ASN1_STRING and then process it through one of the affected OpenSSL functions then this issue could be hit. This might result in a crash (causing a Denial of Service attack). It could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext).</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0098.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0098.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0097: Vulnerability in openssl-srchttps://rustsec.org/advisories/RUSTSEC-2021-0097.html2021-08-24T00:00:00+00:002021-08-24T00:00:00+00:00SM2 Decryption Buffer Overflow <article> <header> <h1> RUSTSEC-2021-0097 </h1> <span class="subtitle"><p>SM2 Decryption Buffer Overflow</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-24"> August 24, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/openssl-src.html">openssl-src</a> (<a href="https://crates.io/crates/openssl-src">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>crypto-failure</li> </ul> </dd> <dt id="aliases">Aliases</dt> <dd> <ul> <li> <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-3711">CVE-2021-3711</a> </li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210824.txt"> https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210824.txt </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=111.16</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>In order to decrypt SM2 encrypted data an application is expected to call the API function <code>EVP_PKEY_decrypt()</code>. Typically an application will call this function twice. The first time, on entry, the &quot;out&quot; parameter can be NULL and, on exit, the &quot;outlen&quot; parameter is populated with the buffer size required to hold the decrypted plaintext. The application can then allocate a sufficiently sized buffer and call <code>EVP_PKEY_decrypt()</code> again, but this time passing a non-NULL value for the &quot;out&quot; parameter.</p> <p>A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size required to hold the plaintext returned by the first call to <code>EVP_PKEY_decrypt()</code> can be smaller than the actual size required by the second call. This can lead to a buffer overflow when <code>EVP_PKEY_decrypt()</code> is called by the application a second time with a buffer that is too small.</p> <p>A malicious attacker who is able present SM2 content for decryption to an application could cause attacker chosen data to overflow the buffer by up to a maximum of 62 bytes altering the contents of other data held after the buffer, possibly changing application behaviour or causing the application to crash. The location of the buffer is application dependent but is typically heap allocated.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0097.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0097.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0096: spirv_headers is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2021-0096.html2021-08-16T00:00:00+00:002021-08-16T00:00:00+00:00spirv_headers is unmaintained, use spirv instead <article> <header> <h1> RUSTSEC-2021-0096 </h1> <span class="subtitle"><p>spirv_headers is unmaintained, use spirv instead</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-16"> August 16, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/spirv_headers.html">spirv_headers</a> (<a href="https://crates.io/crates/spirv_headers">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Unmaintained </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;gfx-rs&#x2f;rspirv&#x2f;issues&#x2f;197"> https:&#x2f;&#x2f;github.com&#x2f;gfx-rs&#x2f;rspirv&#x2f;issues&#x2f;197 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> </dl> <h3 id="description">Description</h3> <p>Because of versioning issues; the <code>spirv_headers</code> crate is unmaintained. Use <a href="https://crates.io/crates/spirv">spirv</a> for parsing spirv files.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/spirv_headers/RUSTSEC-2021-0096.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/spirv_headers/RUSTSEC-2021-0096.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0082: Unsoundness in vec-consthttps://rustsec.org/advisories/RUSTSEC-2021-0082.html2021-08-14T00:00:00+00:002021-08-14T00:00:00+00:00vec-const attempts to construct a Vec from a pointer to a const slice <article> <header> <h1> RUSTSEC-2021-0082 </h1> <span class="subtitle"><p>vec-const attempts to construct a Vec from a pointer to a const slice</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-14"> August 14, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/vec-const.html">vec-const</a> (<a href="https://crates.io/crates/vec-const">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Unsound </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>memory-corruption</li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;Eolu&#x2f;vec-const&#x2f;issues&#x2f;1#issuecomment-898908241"> https:&#x2f;&#x2f;github.com&#x2f;Eolu&#x2f;vec-const&#x2f;issues&#x2f;1#issuecomment-898908241 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>memory-safety</li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>This crate claims to construct a const <code>Vec</code> with nonzero length and capacity, but that cannot be done because such a <code>Vec</code> requires a pointer from an allocator.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/vec-const/RUSTSEC-2021-0082.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/vec-const/RUSTSEC-2021-0082.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0093: Vulnerability in crossbeam-dequehttps://rustsec.org/advisories/RUSTSEC-2021-0093.html2021-07-30T00:00:00+00:002021-07-30T00:00:00+00:00Data race in crossbeam-deque <article> <header> <h1> RUSTSEC-2021-0093 </h1> <span class="subtitle"><p>Data race in crossbeam-deque</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-30"> July 30, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/crossbeam-deque.html">crossbeam-deque</a> (<a href="https://crates.io/crates/crossbeam-deque">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>memory-corruption</li> </ul> </dd> <dt id="aliases">Aliases</dt> <dd> <ul> <li> GHSA-pqqp-xmhj-wgcw </li> <li> <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-32810">CVE-2021-32810</a> </li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;crossbeam-rs&#x2f;crossbeam&#x2f;security&#x2f;advisories&#x2f;GHSA-pqqp-xmhj-wgcw"> https:&#x2f;&#x2f;github.com&#x2f;crossbeam-rs&#x2f;crossbeam&#x2f;security&#x2f;advisories&#x2f;GHSA-pqqp-xmhj-wgcw </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.7.4, &lt;0.8.0</code></li> <li><code>&gt;=0.8.1</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>In the affected version of this crate, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug.</p> <p>Crates using <code>Stealer::steal</code>, <code>Stealer::steal_batch</code>, or <code>Stealer::steal_batch_and_pop</code> are affected by this issue.</p> <p>Credits to @kmaork for discovering, reporting and fixing the bug.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/crossbeam-deque/RUSTSEC-2021-0093.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/crossbeam-deque/RUSTSEC-2021-0093.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0077: Vulnerability in better-macrohttps://rustsec.org/advisories/RUSTSEC-2021-0077.html2021-07-22T00:00:00+00:002021-07-22T00:00:00+00:00`better-macro` has deliberate RCE to prove a point <article> <header> <h1> RUSTSEC-2021-0077 </h1> <span class="subtitle"><p><code>better-macro</code> has deliberate RCE to prove a point</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-22"> July 22, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/better-macro.html">better-macro</a> (<a href="https://crates.io/crates/better-macro">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>code-execution</li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;raycar5&#x2f;better-macro&#x2f;blob&#x2f;24ff1702397b9c19bbfa4c660e2316cd77d3b900&#x2f;src&#x2f;lib.rs#L36-L38"> https:&#x2f;&#x2f;github.com&#x2f;raycar5&#x2f;better-macro&#x2f;blob&#x2f;24ff1702397b9c19bbfa4c660e2316cd77d3b900&#x2f;src&#x2f;lib.rs#L36-L38 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>rce</li> <li>proc-macro</li> </ul> </dd> </dl> <dl> <dt>Affected Functions</dt> <dd>Version</dd> <dt><code>better_macro::println</code></dt> <dd> <ul> <li><code>&gt;1.0.0</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p><a href="https://crates.io/crates/better-macro">better-macro</a> is a fake crate which is &quot;Proving A Point&quot; that proc-macros can run arbitrary code. This a particularly novel or interesting observation.</p> <p>It currently opens <code>https://github.com/raycar5/better-macro/blob/master/doc/hi.md</code> which doesn't appear to have any malicious content, but there's no guarantee that will remain the case.</p> <p>This crate has no useful functionality, and should not be used.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/better-macro/RUSTSEC-2021-0077.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/better-macro/RUSTSEC-2021-0077.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0080: Vulnerability in tarhttps://rustsec.org/advisories/RUSTSEC-2021-0080.html2021-07-19T00:00:00+00:002021-07-19T00:00:00+00:00Links in archive can create arbitrary directories <article> <header> <h1> RUSTSEC-2021-0080 </h1> <span class="subtitle"><p>Links in archive can create arbitrary directories</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-19"> July 19, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/tar.html">tar</a> (<a href="https://crates.io/crates/tar">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;alexcrichton&#x2f;tar-rs&#x2f;issues&#x2f;238"> https:&#x2f;&#x2f;github.com&#x2f;alexcrichton&#x2f;tar-rs&#x2f;issues&#x2f;238 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.4.36</code></li> </ul> </dd> </dl> <dl> <dt>Affected Functions</dt> <dd>Version</dd> <dt><code>tar::Archive::unpack</code></dt> <dd> <ul> <li><code>&lt;0.4.36</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>When unpacking a tarball that contains a symlink the <code>tar</code> crate may create directories outside of the directory it's supposed to unpack into.</p> <p>The function errors when it's trying to create a file, but the folders are already created at this point.</p> <pre><code class="language-rust">use std::{io, io::Result}; use tar::{Archive, Builder, EntryType, Header}; fn main() -&gt; Result&lt;()&gt; { let mut buf = Vec::new(); { let mut builder = Builder::new(&amp;mut buf); // symlink: parent -&gt; .. let mut header = Header::new_gnu(); header.set_path(&quot;symlink&quot;)?; header.set_link_name(&quot;..&quot;)?; header.set_entry_type(EntryType::Symlink); header.set_size(0); header.set_cksum(); builder.append(&amp;header, io::empty())?; // file: symlink/exploit/foo/bar let mut header = Header::new_gnu(); header.set_path(&quot;symlink/exploit/foo/bar&quot;)?; header.set_size(0); header.set_cksum(); builder.append(&amp;header, io::empty())?; builder.finish()?; }; Archive::new(&amp;*buf).unpack(&quot;demo&quot;) } </code></pre> <p>This has been fixed in https://github.com/alexcrichton/tar-rs/pull/259 and is published as <code>tar</code> 0.4.36. Thanks to Martin Michaelis (@mgjm) for discovering and reporting this, and Nikhil Benesch (@benesch) for the fix!</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/tar/RUSTSEC-2021-0080.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/tar/RUSTSEC-2021-0080.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0076: Vulnerability in libsecp256k1https://rustsec.org/advisories/RUSTSEC-2021-0076.html2021-07-13T00:00:00+00:002021-07-13T00:00:00+00:00libsecp256k1 allows overflowing signatures <article> <header> <h1> RUSTSEC-2021-0076 </h1> <span class="subtitle"><p>libsecp256k1 allows overflowing signatures</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-13"> July 13, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/libsecp256k1.html">libsecp256k1</a> (<a href="https://crates.io/crates/libsecp256k1">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>crypto-failure</li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;paritytech&#x2f;libsecp256k1&#x2f;pull&#x2f;67"> https:&#x2f;&#x2f;github.com&#x2f;paritytech&#x2f;libsecp256k1&#x2f;pull&#x2f;67 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.5.0</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>libsecp256k1 accepts signatures whose R or S parameter is larger than the secp256k1 curve order, which differs from other implementations. This could lead to invalid signatures being verified.</p> <p>The error is resolved in 0.5.0 by adding a <code>check_overflow</code> flag.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/libsecp256k1/RUSTSEC-2021-0076.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/libsecp256k1/RUSTSEC-2021-0076.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0073: Vulnerability in prost-typeshttps://rustsec.org/advisories/RUSTSEC-2021-0073.html2021-07-08T00:00:00+00:002021-07-08T00:00:00+00:00Conversion from `prost_types::Timestamp` to `SystemTime` can cause an overflow and panic <article> <header> <h1> RUSTSEC-2021-0073 </h1> <span class="subtitle"><p>Conversion from <code>prost_types::Timestamp</code> to <code>SystemTime</code> can cause an overflow and panic</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-08"> July 8, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/prost-types.html">prost-types</a> (<a href="https://crates.io/crates/prost-types">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>denial-of-service</li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;tokio-rs&#x2f;prost&#x2f;issues&#x2f;438"> https:&#x2f;&#x2f;github.com&#x2f;tokio-rs&#x2f;prost&#x2f;issues&#x2f;438 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.8.0</code></li> </ul> </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>denial-of-service</li> </ul> </dd> </dl> <dl> <dt>Affected Functions</dt> <dd>Version</dd> <dt><code>prost_types::Timestamp::Into&lt;SystemTime&gt;</code></dt> <dd> <ul> <li><code>&lt;=0.7.0</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>Affected versions of this crate contained a bug in which untrusted input could cause an overflow and panic when converting a <code>Timestamp</code> to <code>SystemTime</code>.</p> <p>It is recommended to upgrade to <code>prost-types</code> v0.8 and switch the usage of <code>From&lt;Timestamp&gt; for SystemTime</code> to <code>TryFrom&lt;Timestamp&gt; for SystemTime</code>.</p> <p>See <a href="https://github.com/tokio-rs/prost/issues/438">#438</a> for more information.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/prost-types/RUSTSEC-2021-0073.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/prost-types/RUSTSEC-2021-0073.md">Edit Advisory</a></li> </ul> </article> \ No newline at end of file +RustSec Advisorieshttps://rustsec.org/feed.xml2021-08-25T00:00:00+00:00RustSechttps://rustsec.org/favicon.icoSecurity advisories filed against Rust cratesRUSTSEC-2021-0099: cosmos_sdk is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2021-0099.html2021-08-25T00:00:00+00:002021-08-25T00:00:00+00:00Crate has been renamed to `cosmrs` <article> <header> <h1> RUSTSEC-2021-0099 </h1> <span class="subtitle"><p>Crate has been renamed to <code>cosmrs</code></p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-25"> August 25, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/cosmos_sdk.html">cosmos_sdk</a> (<a href="https://crates.io/crates/cosmos_sdk">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Unmaintained </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;cosmos&#x2f;cosmos-rust&#x2f;issues&#x2f;113"> https:&#x2f;&#x2f;github.com&#x2f;cosmos&#x2f;cosmos-rust&#x2f;issues&#x2f;113 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> </dl> <h3 id="description">Description</h3> <p>The <code>cosmos_sdk</code> crate, which provides a basic Rust SDK for the Cosmos ecosystem, has rebranded to “CosmRS” in the spirit of other projects like CosmJS and CosmWasm.</p> <p>You can find the new home here:</p> <p>https://github.com/cosmos/cosmos-rust/tree/main/cosmrs</p> <p>The new crate name is <code>cosmrs</code>:</p> <p>https://crates.io/crates/cosmrs</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/cosmos_sdk/RUSTSEC-2021-0099.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/cosmos_sdk/RUSTSEC-2021-0099.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0098: Vulnerability in openssl-srchttps://rustsec.org/advisories/RUSTSEC-2021-0098.html2021-08-24T00:00:00+00:002021-08-24T00:00:00+00:00Read buffer overruns processing ASN.1 strings <article> <header> <h1> RUSTSEC-2021-0098 </h1> <span class="subtitle"><p>Read buffer overruns processing ASN.1 strings</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-24"> August 24, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/openssl-src.html">openssl-src</a> (<a href="https://crates.io/crates/openssl-src">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>denial-of-service</li> <li>crypto-failure</li> </ul> </dd> <dt id="aliases">Aliases</dt> <dd> <ul> <li> <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-3712">CVE-2021-3712</a> </li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210824.txt"> https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210824.txt </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=111.16</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are represented as a buffer for the string data which is terminated with a NUL (0) byte.</p> <p>Although not a strict requirement, ASN.1 strings that are parsed using OpenSSL's own &quot;d2i&quot; functions (and other similar parsing functions) as well as any string whose value has been set with the ASN1_STRING_set() function will additionally NUL terminate the byte array in the ASN1_STRING structure.</p> <p>However, it is possible for applications to directly construct valid ASN1_STRING structures which do not NUL terminate the byte array by directly setting the &quot;data&quot; and &quot;length&quot; fields in the ASN1_STRING array. This can also happen by using the <code>ASN1_STRING_set0()</code> function.</p> <p>Numerous OpenSSL functions that print ASN.1 data have been found to assume that the ASN1_STRING byte array will be NUL terminated, even though this is not guaranteed for strings that have been directly constructed. Where an application requests an ASN.1 structure to be printed, and where that ASN.1 structure contains ASN1_STRINGs that have been directly constructed by the application without NUL terminating the &quot;data&quot; field, then a read buffer overrun can occur.</p> <p>The same thing can also occur during name constraints processing of certificates (for example if a certificate has been directly constructed by the application instead of loading it via the OpenSSL parsing functions, and the certificate contains non NUL terminated ASN1_STRING structures). It can also occur in the <code>X509_get1_email()</code>, <code>X509_REQ_get1_email()</code> and <code>X509_get1_ocsp()</code> functions.</p> <p>If a malicious actor can cause an application to directly construct an ASN1_STRING and then process it through one of the affected OpenSSL functions then this issue could be hit. This might result in a crash (causing a Denial of Service attack). It could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext).</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0098.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0098.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0097: Vulnerability in openssl-srchttps://rustsec.org/advisories/RUSTSEC-2021-0097.html2021-08-24T00:00:00+00:002021-08-24T00:00:00+00:00SM2 Decryption Buffer Overflow <article> <header> <h1> RUSTSEC-2021-0097 </h1> <span class="subtitle"><p>SM2 Decryption Buffer Overflow</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-24"> August 24, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/openssl-src.html">openssl-src</a> (<a href="https://crates.io/crates/openssl-src">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>crypto-failure</li> </ul> </dd> <dt id="aliases">Aliases</dt> <dd> <ul> <li> <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-3711">CVE-2021-3711</a> </li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210824.txt"> https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210824.txt </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=111.16</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>In order to decrypt SM2 encrypted data an application is expected to call the API function <code>EVP_PKEY_decrypt()</code>. Typically an application will call this function twice. The first time, on entry, the &quot;out&quot; parameter can be NULL and, on exit, the &quot;outlen&quot; parameter is populated with the buffer size required to hold the decrypted plaintext. The application can then allocate a sufficiently sized buffer and call <code>EVP_PKEY_decrypt()</code> again, but this time passing a non-NULL value for the &quot;out&quot; parameter.</p> <p>A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size required to hold the plaintext returned by the first call to <code>EVP_PKEY_decrypt()</code> can be smaller than the actual size required by the second call. This can lead to a buffer overflow when <code>EVP_PKEY_decrypt()</code> is called by the application a second time with a buffer that is too small.</p> <p>A malicious attacker who is able present SM2 content for decryption to an application could cause attacker chosen data to overflow the buffer by up to a maximum of 62 bytes altering the contents of other data held after the buffer, possibly changing application behaviour or causing the application to crash. The location of the buffer is application dependent but is typically heap allocated.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0097.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0097.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0096: spirv_headers is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2021-0096.html2021-08-16T00:00:00+00:002021-08-16T00:00:00+00:00spirv_headers is unmaintained, use spirv instead <article> <header> <h1> RUSTSEC-2021-0096 </h1> <span class="subtitle"><p>spirv_headers is unmaintained, use spirv instead</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-16"> August 16, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/spirv_headers.html">spirv_headers</a> (<a href="https://crates.io/crates/spirv_headers">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Unmaintained </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;gfx-rs&#x2f;rspirv&#x2f;issues&#x2f;197"> https:&#x2f;&#x2f;github.com&#x2f;gfx-rs&#x2f;rspirv&#x2f;issues&#x2f;197 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> </dl> <h3 id="description">Description</h3> <p>Because of versioning issues; the <code>spirv_headers</code> crate is unmaintained. Use <a href="https://crates.io/crates/spirv">spirv</a> for parsing spirv files.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/spirv_headers/RUSTSEC-2021-0096.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/spirv_headers/RUSTSEC-2021-0096.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0082: Unsoundness in vec-consthttps://rustsec.org/advisories/RUSTSEC-2021-0082.html2021-08-14T00:00:00+00:002021-08-14T00:00:00+00:00vec-const attempts to construct a Vec from a pointer to a const slice <article> <header> <h1> RUSTSEC-2021-0082 </h1> <span class="subtitle"><p>vec-const attempts to construct a Vec from a pointer to a const slice</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-08-14"> August 14, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/vec-const.html">vec-const</a> (<a href="https://crates.io/crates/vec-const">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Unsound </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>memory-corruption</li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;Eolu&#x2f;vec-const&#x2f;issues&#x2f;1#issuecomment-898908241"> https:&#x2f;&#x2f;github.com&#x2f;Eolu&#x2f;vec-const&#x2f;issues&#x2f;1#issuecomment-898908241 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>memory-safety</li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>This crate claims to construct a const <code>Vec</code> with nonzero length and capacity, but that cannot be done because such a <code>Vec</code> requires a pointer from an allocator.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/vec-const/RUSTSEC-2021-0082.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/vec-const/RUSTSEC-2021-0082.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0093: Vulnerability in crossbeam-dequehttps://rustsec.org/advisories/RUSTSEC-2021-0093.html2021-07-30T00:00:00+00:002021-07-30T00:00:00+00:00Data race in crossbeam-deque <article> <header> <h1> RUSTSEC-2021-0093 </h1> <span class="subtitle"><p>Data race in crossbeam-deque</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-30"> July 30, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/crossbeam-deque.html">crossbeam-deque</a> (<a href="https://crates.io/crates/crossbeam-deque">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>memory-corruption</li> </ul> </dd> <dt id="aliases">Aliases</dt> <dd> <ul> <li> GHSA-pqqp-xmhj-wgcw </li> <li> <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-32810">CVE-2021-32810</a> </li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;crossbeam-rs&#x2f;crossbeam&#x2f;security&#x2f;advisories&#x2f;GHSA-pqqp-xmhj-wgcw"> https:&#x2f;&#x2f;github.com&#x2f;crossbeam-rs&#x2f;crossbeam&#x2f;security&#x2f;advisories&#x2f;GHSA-pqqp-xmhj-wgcw </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.7.4, &lt;0.8.0</code></li> <li><code>&gt;=0.8.1</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>In the affected version of this crate, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug.</p> <p>Crates using <code>Stealer::steal</code>, <code>Stealer::steal_batch</code>, or <code>Stealer::steal_batch_and_pop</code> are affected by this issue.</p> <p>Credits to @kmaork for discovering, reporting and fixing the bug.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/crossbeam-deque/RUSTSEC-2021-0093.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/crossbeam-deque/RUSTSEC-2021-0093.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0077: Vulnerability in better-macrohttps://rustsec.org/advisories/RUSTSEC-2021-0077.html2021-07-22T00:00:00+00:002021-07-22T00:00:00+00:00`better-macro` has deliberate RCE to prove a point <article> <header> <h1> RUSTSEC-2021-0077 </h1> <span class="subtitle"><p><code>better-macro</code> has deliberate RCE to prove a point</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-22"> July 22, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/better-macro.html">better-macro</a> (<a href="https://crates.io/crates/better-macro">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>code-execution</li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;raycar5&#x2f;better-macro&#x2f;blob&#x2f;24ff1702397b9c19bbfa4c660e2316cd77d3b900&#x2f;src&#x2f;lib.rs#L36-L38"> https:&#x2f;&#x2f;github.com&#x2f;raycar5&#x2f;better-macro&#x2f;blob&#x2f;24ff1702397b9c19bbfa4c660e2316cd77d3b900&#x2f;src&#x2f;lib.rs#L36-L38 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>rce</li> <li>proc-macro</li> </ul> </dd> </dl> <dl> <dt>Affected Functions</dt> <dd>Version</dd> <dt><code>better_macro::println</code></dt> <dd> <ul> <li><code>&gt;1.0.0</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p><a href="https://crates.io/crates/better-macro">better-macro</a> is a fake crate which is &quot;Proving A Point&quot; that proc-macros can run arbitrary code. This a particularly novel or interesting observation.</p> <p>It currently opens <code>https://github.com/raycar5/better-macro/blob/master/doc/hi.md</code> which doesn't appear to have any malicious content, but there's no guarantee that will remain the case.</p> <p>This crate has no useful functionality, and should not be used.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/better-macro/RUSTSEC-2021-0077.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/better-macro/RUSTSEC-2021-0077.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0080: Vulnerability in tarhttps://rustsec.org/advisories/RUSTSEC-2021-0080.html2021-07-19T00:00:00+00:002021-07-19T00:00:00+00:00Links in archive can create arbitrary directories <article> <header> <h1> RUSTSEC-2021-0080 </h1> <span class="subtitle"><p>Links in archive can create arbitrary directories</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-19"> July 19, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/tar.html">tar</a> (<a href="https://crates.io/crates/tar">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;alexcrichton&#x2f;tar-rs&#x2f;issues&#x2f;238"> https:&#x2f;&#x2f;github.com&#x2f;alexcrichton&#x2f;tar-rs&#x2f;issues&#x2f;238 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.4.36</code></li> </ul> </dd> </dl> <dl> <dt>Affected Functions</dt> <dd>Version</dd> <dt><code>tar::Archive::unpack</code></dt> <dd> <ul> <li><code>&lt;0.4.36</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>When unpacking a tarball that contains a symlink the <code>tar</code> crate may create directories outside of the directory it's supposed to unpack into.</p> <p>The function errors when it's trying to create a file, but the folders are already created at this point.</p> <pre><code class="language-rust">use std::{io, io::Result}; use tar::{Archive, Builder, EntryType, Header}; fn main() -&gt; Result&lt;()&gt; { let mut buf = Vec::new(); { let mut builder = Builder::new(&amp;mut buf); // symlink: parent -&gt; .. let mut header = Header::new_gnu(); header.set_path(&quot;symlink&quot;)?; header.set_link_name(&quot;..&quot;)?; header.set_entry_type(EntryType::Symlink); header.set_size(0); header.set_cksum(); builder.append(&amp;header, io::empty())?; // file: symlink/exploit/foo/bar let mut header = Header::new_gnu(); header.set_path(&quot;symlink/exploit/foo/bar&quot;)?; header.set_size(0); header.set_cksum(); builder.append(&amp;header, io::empty())?; builder.finish()?; }; Archive::new(&amp;*buf).unpack(&quot;demo&quot;) } </code></pre> <p>This has been fixed in https://github.com/alexcrichton/tar-rs/pull/259 and is published as <code>tar</code> 0.4.36. Thanks to Martin Michaelis (@mgjm) for discovering and reporting this, and Nikhil Benesch (@benesch) for the fix!</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/tar/RUSTSEC-2021-0080.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/tar/RUSTSEC-2021-0080.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0076: Vulnerability in libsecp256k1https://rustsec.org/advisories/RUSTSEC-2021-0076.html2021-07-13T00:00:00+00:002021-07-13T00:00:00+00:00libsecp256k1 allows overflowing signatures <article> <header> <h1> RUSTSEC-2021-0076 </h1> <span class="subtitle"><p>libsecp256k1 allows overflowing signatures</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-13"> July 13, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/libsecp256k1.html">libsecp256k1</a> (<a href="https://crates.io/crates/libsecp256k1">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>crypto-failure</li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;paritytech&#x2f;libsecp256k1&#x2f;pull&#x2f;67"> https:&#x2f;&#x2f;github.com&#x2f;paritytech&#x2f;libsecp256k1&#x2f;pull&#x2f;67 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.5.0</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>libsecp256k1 accepts signatures whose R or S parameter is larger than the secp256k1 curve order, which differs from other implementations. This could lead to invalid signatures being verified.</p> <p>The error is resolved in 0.5.0 by adding a <code>check_overflow</code> flag.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/libsecp256k1/RUSTSEC-2021-0076.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/libsecp256k1/RUSTSEC-2021-0076.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0075: Vulnerability in ark-r1cs-stdhttps://rustsec.org/advisories/RUSTSEC-2021-0075.html2021-07-08T00:00:00+00:002021-07-08T00:00:00+00:00Flaw in `FieldVar::mul_by_inverse` allows unsound R1CS constraint systems <article> <header> <h1> RUSTSEC-2021-0075 </h1> <span class="subtitle"><p>Flaw in <code>FieldVar::mul_by_inverse</code> allows unsound R1CS constraint systems</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-07-08"> July 8, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/ark-r1cs-std.html">ark-r1cs-std</a> (<a href="https://crates.io/crates/ark-r1cs-std">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>crypto-failure</li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;arkworks-rs&#x2f;r1cs-std&#x2f;pull&#x2f;70"> https:&#x2f;&#x2f;github.com&#x2f;arkworks-rs&#x2f;r1cs-std&#x2f;pull&#x2f;70 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.3.1</code></li> </ul> </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>r1cs</li> <li>zksnark</li> <li>arkworks</li> </ul> </dd> </dl> <dl> <dt>Affected Functions</dt> <dd>Version</dd> <dt><code>ark_r1cs_std::FieldVar::mul_by_inverse</code></dt> <dd> <ul> <li><code>&lt;0.3.0</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>Versions <code>0.2.0</code> to <code>0.3.0</code> of ark-r1cs-std did not enforce any constraints in the <code>FieldVar::mul_by_inverse</code> method, allowing a malicious prover to produce an unsound proof that passes all verifier checks. This method was used primarily in scalar multiplication for <a href="https://docs.rs/ark-r1cs-std/0.3.0/ark_r1cs_std/groups/curves/short_weierstrass/struct.ProjectiveVar.html"><code>short_weierstrass::ProjectiveVar</code></a>.</p> <p>This bug was fixed in commit <code>47ddbaa</code>, and was released as part of version <code>0.3.1</code> on <code>crates.io</code>.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/ark-r1cs-std/RUSTSEC-2021-0075.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/ark-r1cs-std/RUSTSEC-2021-0075.md">Edit Advisory</a></li> </ul> </article> \ No newline at end of file diff --git a/packages/http.html b/packages/http.html index 241eabda3..593302118 100644 --- a/packages/http.html +++ b/packages/http.html @@ -55,11 +55,11 @@

    - - RUSTSEC-2019-0034: Vulnerability in http + + RUSTSEC-2019-0033: Vulnerability in http

    -

    HeaderMap::Drain API is unsound

    +

    Integer Overflow in HeaderMap::reserve() can cause Denial of Service

    @@ -72,11 +72,11 @@

    - - RUSTSEC-2019-0033: Vulnerability in http + + RUSTSEC-2019-0034: Vulnerability in http

    -

    Integer Overflow in HeaderMap::reserve() can cause Denial of Service

    +

    HeaderMap::Drain API is unsound

    diff --git a/packages/hyper.html b/packages/hyper.html index 795d4f27c..b8fed05a2 100644 --- a/packages/hyper.html +++ b/packages/hyper.html @@ -55,11 +55,11 @@

    - - RUSTSEC-2021-0079: Vulnerability in hyper + + RUSTSEC-2021-0078: Vulnerability in hyper

    -

    Integer overflow in hyper's parsing of the Transfer-Encoding header leads to data loss

    +

    Lenient hyper header parsing of Content-Length could allow request smuggling

    @@ -72,11 +72,11 @@

    - - RUSTSEC-2021-0078: Vulnerability in hyper + + RUSTSEC-2021-0079: Vulnerability in hyper

    -

    Lenient hyper header parsing of Content-Length could allow request smuggling

    +

    Integer overflow in hyper's parsing of the Transfer-Encoding header leads to data loss

    diff --git a/packages/openssl-src.html b/packages/openssl-src.html index 5dd80da27..11a605c16 100644 --- a/packages/openssl-src.html +++ b/packages/openssl-src.html @@ -88,40 +88,6 @@ -

    - - RUSTSEC-2021-0058: Vulnerability in openssl-src - -

    -

    Null pointer deref in X509_issuer_and_serial_hash()

    -
    - - - -
  • - - - - -

    - - RUSTSEC-2021-0055: Vulnerability in openssl-src - -

    -

    NULL pointer deref in signature_algorithms processing

    -
    - -
  • - -
  • - - - -

    RUSTSEC-2021-0057: Vulnerability in openssl-src @@ -139,6 +105,23 @@ +

    + + RUSTSEC-2021-0058: Vulnerability in openssl-src + +

    +

    Null pointer deref in X509_issuer_and_serial_hash()

    +
    + +

  • + +
  • + + + +

    RUSTSEC-2021-0056: Vulnerability in openssl-src @@ -149,6 +132,23 @@

  • +
  • + + + + +

    + + RUSTSEC-2021-0055: Vulnerability in openssl-src + +

    +

    NULL pointer deref in signature_algorithms processing

    +
    + +
  • +
  • @@ -72,11 +72,11 @@

    - - RUSTSEC-2021-0089: Vulnerability in raw-cpuid + + RUSTSEC-2021-0013: Vulnerability in raw-cpuid

    -

    Optional Deserialize implementations lacking validation

    +

    Soundness issues in raw-cpuid

    diff --git a/packages/rulinalg.html b/packages/rulinalg.html index e920e1d6a..54daa3e7c 100644 --- a/packages/rulinalg.html +++ b/packages/rulinalg.html @@ -55,11 +55,11 @@

    - - RUSTSEC-2020-0023: Vulnerability in rulinalg + + RUSTSEC-2020-0147: rulinalg is unmaintained

    -

    Lifetime boundary for raw_slice and raw_slice_mut are incorrect

    +

    rulinalg is unmaintained, use nalgebra instead

    @@ -72,11 +72,11 @@

    - - RUSTSEC-2020-0147: rulinalg is unmaintained + + RUSTSEC-2020-0023: Vulnerability in rulinalg

    -

    rulinalg is unmaintained, use nalgebra instead

    +

    Lifetime boundary for raw_slice and raw_slice_mut are incorrect