Backport: fix(bt/bluedroid): fixed potential OOB in AVRCP vendor command composition [CVE-2025-68474]#8
Open
dkgkdfg65 wants to merge 1 commit into
Conversation
…and composition Backport of upstream espressif/esp-idf commit 0b0b59f to fix CVE-2025-68474. (cherry picked from commit 0b0b59f) This commit is a verbatim cherry-pick from espressif/esp-idf using: git cherry-pick -x 0b0b59f Cherry-picked from commit 0b0b59f. Signed-off-by: dkgkdfg65 <219107372+dkgkdfg65@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backports espressif/esp-idf 0b0b59f for CVE-2025-68474 — AVRCP release-build assert bypass (use of
assertin release mode means the bounds check is compiled out; this replaces it with a runtime guard).openvehicles/esp-idf master is on the 2019-era esp-idf layout where this file lives at
components/bt/bluedroid/stack/avrc/avrc_opt.c(nohost/subdirectory yet). git auto-detected the rename during cherry-pick and applied the patch cleanly to the renamed location. the vulnerable pattern is still in openvehicles master.upstream commit: espressif@0b0b59f2e19c
CVE: https://nvd.nist.gov/vuln/detail/CVE-2025-68474
diff:
components/bt/bluedroid/stack/avrc/avrc_opt.c | +17 -6haven't run tests against an openvehicles build.