crossplane-contrib / provider-upjet-azuread

AzureAD Provider for Crossplane.
https://marketplace.upbound.io/providers/upbound/provider-azuread/
Apache License 2.0
6 stars 19 forks source link

Update module github.com/crossplane/crossplane-runtime to v0.19.2 [SECURITY] #37

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/crossplane/crossplane-runtime require patch v0.19.0-rc.0.0.20221012013934-bce61005a175 -> v0.19.2

GitHub Vulnerability Alerts

CVE-2023-27483

Summary

Fuzz testing on crossplane/crossplane, by Ada Logics and sponsored by the CNCF, identified input to a function in the fieldpath package that can cause an out of memory panic. Applications that use the Paved type's SetValue method with user provided input without proper validation might use excessive amounts of memory and cause an out of memory panic.

Details

In the fieldpath package, the SetValue method of the Paved type sets a value on the inner object according to the provided path, without validating it first. This allows setting values in slices at any specific index and the code will grow the target array up to the required size. The index is currently capped at max uint32 (4294967295) given how indexes are parsed, but that is still an unnecessarily large value.

Workaround

Users can parse and validate the path before passing it to the SetValue method of the Paved type, constraining the index size as deemed appropriate.

Credits

Disclosed by Ada Logics in a fuzzing audit sponsored by CNCF.


Release Notes

crossplane/crossplane-runtime ### [`v0.19.2`](https://togithub.com/crossplane/crossplane-runtime/releases/tag/v0.19.2) [Compare Source](https://togithub.com/crossplane/crossplane-runtime/compare/v0.19.1...v0.19.2) #### Security Addresses a [vulnerability](https://togithub.com/crossplane/crossplane-runtime/security/advisories/GHSA-vfvj-3m3g-m532) in the `fieldpath` package. #### What's Changed - \[Backport release-0.19] Max index value validation by [@​phisco](https://togithub.com/phisco) in [https://github.com/crossplane/crossplane-runtime/pull/390](https://togithub.com/crossplane/crossplane-runtime/pull/390) **Full Changelog**: https://github.com/crossplane/crossplane-runtime/compare/v0.19.1...v0.19.2 ### [`v0.19.1`](https://togithub.com/crossplane/crossplane-runtime/compare/v0.19.0...v0.19.1) [Compare Source](https://togithub.com/crossplane/crossplane-runtime/compare/v0.19.0...v0.19.1)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.



This PR has been generated by Mend Renovate. View repository job log here.

Upbound-CLA commented 1 year ago

CLA assistant check
All committers have signed the CLA.