Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Feb 6, 2025

This PR contains the following updates:

Package Type Update Change
pprof dev-dependencies minor 0.130.14

GitHub Vulnerability Alerts

GHSA-gw5w-5j7f-jmjj

The library breaks the safety assumptions when using unsafe API std::slice::from_raw_parts. First, when using the API in iterator implementation (TempFdArrayIterator.next), generic type could be any type, which would create and pass a misaligned pointer to the unsafe API. Second, when validating the address, the code passed the type c_void, which could also be any type, leading to potential uninitialized memory exposure.

Two unsound usages here highlight the necessity for developers to perform type checks before doing type conversion with unsafe API.

The panic caused by the misalignment causes several downstream applications (e.g., greptimedb) to crash when using pprof::report::ReportBuilder::build.

This was patched in 0.14.0.

The developer also suggested moving to pprof2.


Release Notes

tikv/pprof-rs (pprof)

v0.14.0

Fixed
  • Fix the alignment of the collector and validate function (#​255)
Changed
  • Bump the MSRV to 1.66.0 (#​255)

Configuration

📅 Schedule: Branch creation - "" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Feb 6, 2025
@renovate renovate bot enabled auto-merge (squash) February 6, 2025 07:18
@renovate
Copy link
Author

renovate bot commented Feb 6, 2025

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot force-pushed the renovate/crate-pprof-vulnerability branch from b1489c6 to fe8e96f Compare August 11, 2025 03:54
@renovate renovate bot force-pushed the renovate/crate-pprof-vulnerability branch from fe8e96f to ba9fc69 Compare December 11, 2025 23:33
@renovate renovate bot requested a review from a team December 11, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant