Skip to content

Conversation

@dongsupark
Copy link
Member

@dongsupark dongsupark commented Dec 17, 2025

Update reqwest to 0.12 to resolve security issue of its dependency rustls-pemfile being unmaintained.
While reqwest 0.11 depends on rusttls-pemfile, 0.12+ started to get rid of that and pull in instead rustls-pki-types.

See also https://rustsec.org/advisories/RUSTSEC-2025-0134.html.

Remove unnecessary configs for sha2 crate and machete.

Testing done

CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/7133/cldsv/ passed

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

@dongsupark dongsupark requested a review from a team as a code owner December 17, 2025 09:46
@dongsupark dongsupark changed the title Dongsu/reqwest 0.12 Cargo: update reqwest to 0.12.26 Dec 17, 2025
dongsupark added a commit to flatcar/scripts that referenced this pull request Dec 17, 2025
Pulls in flatcar/ue-rs#101.

Signed-off-by: Dongsu Park <dongsu@dpark.io>
log = "0.4"
reqwest = { version = "0.11", features = ["blocking"] }
sha2 = "0.10"
reqwest = { version = "0.12", features = ["blocking"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title says upgrade to 0.12.26 but Cargo.toml uses 0.12. Did you mean to specify a patch version as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Actually I wanted to keep the version without patchlevel 26, to make it sync with further patchlevel changes in the future.
Updated commit messages and the description.

Update reqwest to 0.12 to resolve security issue of its dependency
rustls-pemfile being unmaintained. While reqwest 0.11 depends on
rusttls-pemfile, 0.12+ started to get rid of that and pull in instead
rustls-pki-types.

See also https://rustsec.org/advisories/RUSTSEC-2025-0134.html.

Signed-off-by: Dongsu Park <dongsu@dpark.io>
sha2 is not used anywhere, and machete works even without the uuid
configs.

Signed-off-by: Dongsu Park <dongsu@dpark.io>
@dongsupark dongsupark changed the title Cargo: update reqwest to 0.12.26 Cargo: update reqwest to 0.12 Jan 2, 2026
@dongsupark dongsupark force-pushed the dongsu/reqwest-0.12 branch from c0e633b to 386a5b2 Compare January 2, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants