Skip to content

v2.6: bound plugin-library copy (CVE-2024-10964) - #2739

Open
vulgraph wants to merge 1 commit into
emqx:v2.6from
vulgraph:backport/CVE-2024-10964-v2.6
Open

vulgraph wants to merge 1 commit into
emqx:v2.6from
vulgraph:backport/CVE-2024-10964-v2.6

Conversation

@vulgraph

Copy link
Copy Markdown

CVE-2024-10964 one-liner for v2.6 — just the strcpy → strncpy(..., NEU_PLUGIN_LIBRARY_LEN) on handle_add_plugin. The upstream commit also touches handle_update_plugin, but that function did not exist yet on v2.6 (introduced later on v2.7+), so only the add_plugin half of the diff is applicable.

Deliberately did NOT import handle_update_plugin from newer branches — that would be feature-add, not a security backport. If you'd like update-plugin coverage on v2.6 too, happy to follow up separately with a proper merge from v2.7.

(cherry picked from commit 3e3a583)
@vulgraph

vulgraph commented May 2, 2026

Copy link
Copy Markdown
Author

Thanks for the green light — let me know if any adjustment is needed before merge.

@vulgraph

vulgraph commented May 3, 2026

Copy link
Copy Markdown
Author

Thanks for taking a look, @hxy7yx.

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