CVE-2022-24704

Buffer Overflow via Crafted IPv6 Addr Attribute Type Client Request in Accel-PPP v1.12

published February 14, 2022

CVSS
—
EPSS
1%
Percentile
67.5
In the wild
Unconfirmed
What it is

⚠️ A sneaky buffer overflow is lurking in the rad_packet_recv function! When a client sends a hefty radius packet, it could lead to some unexpected overflow chaos! Think of it like a library where a librarian is tasked with returning books to a shelf—if someone suddenly hands them a stack of oversized tomes that don’t fit, it can create a big mess! If an attacker manages to send a large radius packet, they could cause the server to crash or even execute arbitrary code, leading to potential data loss or server compromise. It's a surprisingly sneaky way for mischief to unfold!

Put simply

Think of it like a library where a librarian is tasked with returning books to a shelf—if someone suddenly hands them a stack of oversized tomes that don’t fit, it can create a big mess! This vulnerability occurs because the rad_packet_recv function copies user input into a fixed-size buffer without performing necessary bounds checks, resulting in a buffer overflow when large packets are received.

What to do

If an attacker manages to send a large radius packet, they could cause the server to crash or even execute arbitrary code, leading to potential data loss or server compromise. It's a surprisingly sneaky way for mischief to unfold! Review the implementation in opt/src/accel-pppd/radius/packet.c and add proper bounds checking for the buffer. Consider applying any available updates or fixes from the maintainers and conduct thorough testing to ensure stability. You've got this! Implement these changes and keep your systems safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01182 · 67.5th percentile
Published
2022-02-14T21:04Z
EPSS history
Timeline
  • 14 FEB 21:04Z
    Buffer Overflow via Crafted IPv6 Addr Attribute Type Client Request in Accel-PPP v1.12
    cvelistv5