POJIA破甲
地图 / Buffer Overflow Risk in Curl_inet_ntop and inet_ntop4

Buffer Overflow Risk in Curl_inet_ntop and inet_ntop4

内存破坏 / 经典缓冲区溢出 / #2887487

厂商
curl
严重程度
中危
赏金
—
弱点
经典缓冲区溢出
研究员
@b3fbcf5debe00185bbe06c0
披露日期
2024-12-08
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(8515 字符中的一小部分)
*Curl is a software that I love and is an important tool for the world. * *If my report doesn't align, I apologize for that.*
原文中的代码
#include <stdio.h>
#include <string.h>
#include <errno.h>

static char *inet_ntop4(const unsigned char *src, char *dst, size_t size) {
    char tmp[sizeof("255.255.255.255")];
    snprintf(tmp, sizeof(tmp), "%d.%d.%d.%d",
             src[0], src[1], src[2], src[3]);

    if (strlen(tmp) >= size) { …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @b3fbcf5debe00185bbe06c0 · 版权归作者与 curl 所有

同类报告

RCE on Steam Client via buffer overflow in Server InfoValve · 2019-03-15Malformed .BMP file in Counter-Strike 1.6 may cause shellcode injectionValve · 2020-02-27Malformed NAV file leads to buffer overflow and code execution in Left4Dead2.exeValve · 2020-03-25 · $10,000Remote vulnerabilities in sppPlayStation · 2024-04-25 · $12,500Buffer overrun in Steam SILK voice decoderValve · 2021-09-13 · $7,500[Portal 2] Remote Code Execution via voice packetsValve · 2021-05-10 · $5,000