orbisai0security opened a new pull request, #73: URL: https://github.com/apache/apr/pull/73
## Summary Fix critical severity security issue in `buffer/apr_buffer.c`. ## Vulnerability | Field | Value | |-------|-------| | **ID** | V-001 | | **Severity** | CRITICAL | | **Scanner** | multi_agent_ai | | **Rule** | `V-001` | | **File** | `buffer/apr_buffer.c:256` | | **CWE** | CWE-120 | **Description**: Five memcpy calls in buffer/apr_buffer.c copy src->size or seplen bytes into destination buffers without first verifying that the destination allocation is large enough to hold the data. An attacker who can supply a crafted APR buffer object with a declared size field exceeding the actual destination allocation can trigger a heap buffer overflow, corrupting adjacent heap metadata or function pointers. This is a direct, high-confidence exploitable vulnerability requiring no special prerequisites beyond the ability to supply data processed by the APR buffer API. ## Changes - `buffer/apr_buffer.c` ## Verification - [x] Build passes - [x] Scanner re-scan confirms fix - [x] LLM code review passed --- *Automated security fix by [OrbisAI Security](https://orbisappsec.com)* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
