This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate apple-codesign

Dependencies

(77 total, 38 outdated, 2 insecure)

CrateRequiredLatestStatus
 anyhow^1.0.791.0.105up to date
 app-store-connect^0.5.00.7.0out of date
 apple-bundles^0.19.00.21.0out of date
 apple-flat-package^0.18.00.20.0out of date
 apple-xar^0.18.00.20.0out of date
 aws-config^1.1.21.13.4up to date
 aws-sdk-s3^1.12.01.162.0up to date
 aws-smithy-http^0.60.20.64.3out of date
 aws-smithy-types^1.1.21.9.5up to date
 base64^0.21.70.23.1out of date
 bcder^0.7.40.7.7up to date
 bitflags^2.4.12.13.2up to date
 bytes^1.5.01.12.2up to date
 chrono^0.4.310.4.45up to date
 clap^4.4.174.6.10up to date
 cryptographic-message-syntax^0.26.00.28.0out of date
 der^0.7.80.8.3out of date
 dialoguer^0.11.00.12.0out of date
 difference^2.0.02.0.0up to date
 digest^0.10.70.11.3out of date
 dirs^5.0.17.0.0out of date
 elliptic-curve^0.13.80.14.3out of date
 env_logger^0.10.10.11.12out of date
 figment^0.10.130.10.19up to date
 filetime^0.2.230.2.30up to date
 glob^0.3.10.3.4up to date
 goblin^0.8.00.10.7out of date
 hex^0.4.30.4.3up to date
 log^0.4.200.4.35up to date
 md-5^0.10.60.11.0out of date
 minicbor^0.20.02.3.1out of date
 num-traits^0.2.170.2.19up to date
 object^0.32.20.41.0out of date
 oid-registry^0.6.10.8.1out of date
 once_cell^1.19.01.21.4up to date
 p12^0.6.30.6.3up to date
 p256^0.13.20.14.0out of date
 pem^3.0.34.0.0out of date
 pkcs1^0.7.50.8.0out of date
 pkcs8^0.10.20.11.0out of date
 plist^1.6.01.10.4up to date
 rand^0.8.50.10.4out of date
 rasn^0.12.40.30.0out of date
 rayon^1.8.01.12.0up to date
 regex^1.10.21.13.2up to date
 reqwest^0.11.230.13.5out of date
 ring^0.17.70.17.14up to date
 rsa ⚠️^0.9.60.10.0insecure
 scroll^0.12.00.13.0out of date
 security-framework^2.9.23.7.0out of date
 security-framework-sys^2.9.12.17.0up to date
 semver^1.0.211.0.28up to date
 serde^1.0.1951.0.229up to date
 serde_json^1.0.1111.0.154up to date
 serde_yaml^0.9.300.9.34+deprecatedup to date
 sha2^0.10.80.11.2out of date
 signature^2.2.03.0.0out of date
 simple-file-manifest^0.11.00.11.0up to date
 spake2^0.4.00.4.0up to date
 spki^0.7.30.8.1out of date
 subtle^2.5.02.6.1up to date
 tempfile^3.9.03.27.0up to date
 thiserror^1.0.562.0.21out of date
 tokio^1.35.11.54.1up to date
 tungstenite^0.21.00.30.0out of date
 uuid^1.6.11.29.3up to date
 walkdir^2.4.02.5.1up to date
 widestring^1.0.21.2.1up to date
 windows-sys^0.52.00.61.2out of date
 x509^0.2.00.2.0up to date
 x509-certificate^0.23.10.25.0out of date
 xml-rs^0.8.191.0.0out of date
 yasna^0.5.20.6.0out of date
 yubikey^0.8.00.8.0up to date
 zeroize^1.7.01.9.2up to date
 zip ⚠️^0.6.69.8.2insecure
 zip_structs^0.2.10.2.1up to date

Dev dependencies

(6 total, 1 outdated, 1 insecure)

CrateRequiredLatestStatus
 flate2^1.0.281.1.11up to date
 indoc^2.0.42.0.8up to date
 simple-file-manifest^0.11.00.11.0up to date
 tar^0.4.400.4.46up to date
 trycmd-indygreg-fork^0.14.200.14.20up to date
 zip ⚠️^0.6.69.8.2insecure

Security Vulnerabilities

rsa: Marvin Attack: potential key recovery through timing sidechannels

RUSTSEC-2023-0071

Impact

Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key.

Patches

The rsa v0.10 series includes a migration to crypto-bigint and constant-time mitigations recommended in draft-irtf-cfrg-rsa-guidance. Upgrading to this release should resolve all known constant-time issues.

References

This vulnerability was discovered as part of the "Marvin Attack", which revealed several implementations of RSA including OpenSSL had not properly mitigated timing sidechannel attacks.

zip: Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation

RUSTSEC-2026-0367

The zip crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP external_attributes during extraction, instead of masking them to safe permission bits. If a privileged process (for example, root in an installer, CI/CD pipeline, or container build) extracts an attacker-controlled ZIP archive using ZipArchive::extract() or the stream extraction API, files can be created as setuid-root or setgid. This behavior allows the creation of SUID/SGID files during extraction, which can lead to local privilege escalation depending on the execution environment.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-vv5m-jxxh-4627

zip: zip: `ZipArchive::extract` creates symbolic links whose attacker-controlled targets are outside the destination directory

RUSTSEC-2026-0368

In zip 9.0.0-pre2, ZipArchive::extract creates a symbolic link from an archive entry after validating only the output entry path. The link target bytes are passed directly to the platform symlink API, so a malicious archive can create an entry inside the destination that resolves to an attacker-chosen path outside it. This behavior was verified on macOS and Linux. On either platform, a subsequent application read or write through that extracted entry accesses the external target with the extracting process's permissions.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4v9h-p7m9-rh26

zip: ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target

RUSTSEC-2026-0369

ZipStreamReader::extract() applies Unix permissions through extracted symlinks without validating the symlink target stays within the destination

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4684-h2q9-2vcp

zip: zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size

RUSTSEC-2026-0429

ZipArchive::extract() sizes the symlink-target buffer from the uncompressed size declared in the central directory record, before reading a single byte of entry data:

let mut target = Vec::with_capacity(file.size() as usize);

Both inputs are attacker-controlled. ZipFile::size() returns uncompressed_size verbatim from the central directory, widened to a full u64 by a ZIP64 extended-information extra field, and is never cross-checked against the compressed size, the remaining archive length, or any platform-appropriate bound for a symlink target. ZipFile::is_symlink() is decided entirely by the S_IFLNK bit of the external-attributes field.

Vec::with_capacity() is infallible: when the reservation is refused it calls handle_alloc_error() and aborts the process. This is not a Rust panic. It is not caught by catch_unwind(), is unaffected by panic = "unwind", and is not contained by running the call on a worker thread.

A 112-byte archive is sufficient. One Stored entry flagged S_IFLNK with a ZIP64 field declaring uncompressed_size = 2^62 and a zero-byte payload makes extract() fail with:

memory allocation of 4611686018427387904 bytes failed
Aborted (core dumped)          # exit 134

The declared value only needs to exceed the host's address space, not its RAM: Vec::with_capacity() maps address space without touching pages, so resident memory stays flat and the abort happens on the refused reservation itself. Under a ulimit -v cap or a memory-constrained container the threshold drops far enough that a plain 32-bit uncompressed_size with no ZIP64 field suffices.

Applications that extract archives from untrusted input are affected on Unix and Windows targets with default features and no special configuration: upload handling, mail-attachment processing, package and artefact ingestion, backup restore and container-image layer extraction. No confidentiality or integrity property is affected: there is no memory unsafety, no out-of-bounds access, no disclosure and no data corruption.

The fix landed in zip-rs/zip2#984 and shipped in 9.0.0.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-q7v9-x93c-xqv3

zip: AES entries returned without checking their authentication code when the data ends early or is empty

RUSTSEC-2026-0545

For WinZip AES (AE-1 and AE-2) entries, the 10-byte HMAC authentication code was read and checked only after the reader had consumed exactly the entry's declared compressed size. If the archive ended before that size was reached, the read returned end-of-stream and the truncated plaintext was accepted without the check. The authentication code of an entry with no encrypted data was never checked.

AES-CTR ciphertext can be changed bit by bit without the password, and AE-2 entries carry no CRC-32, so an attacker who can modify an archive can alter the decrypted contents of such an entry without any error being reported.

This affects reading AES-encrypted entries with a password (for example ZipArchive::by_name_decrypt) with the aes-crypto feature.

The fix returns an error when the data ends before the declared size, and checks the authentication code of empty entries.

zip: `ZipStreamReader` extracts entries under local-header names that can differ from the central directory

RUSTSEC-2026-0548

A ZIP archive names each entry twice: in the local file header in front of the entry's data, and in the central directory at the end of the archive. ZipArchive lists and opens entries by their central-directory names. ZipStreamReader::visit and ZipStreamReader::extract, like read_zipfile_from_stream, read the local headers in order and use the local-header names without comparing them with the central directory.

An archive can therefore show one set of file names to code that inspects it with ZipArchive and write files under other names when it is extracted with ZipStreamReader. If an application checks an archive one way and extracts it the other way, an attacker can get files written or overwritten inside the destination directory that the check never saw.

The fix adds an opt-in check. ZipStreamReader::enforce_header_consistency(true) compares each local header with its central-directory entry (name, sizes, CRC-32, compression method, flags and modification time) and fails extraction on a mismatch; ZipReadOptions::enforce_header_consistency(true) and ZipArchive::validate_header_consistency() do the same for ZipArchive. The check is off by default, so upgrading alone does not change what ZipStreamReader::new(...) extracts: applications that extract untrusted archives with ZipStreamReader need to turn it on.