POJIA破甲
地图 / NULL dereference when encoding DN of x509 certificate

NULL dereference when encoding DN of x509 certificate

内存破坏 / 空指针解引用 / #2559558

厂商
curl
严重程度
低危
赏金
—
弱点
空指针解引用
研究员
@z2_
披露日期
2024-06-19
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(1957 字符中的一小部分)
libcurl at commit [04739054cdac5a0614fb94e3655e313c03399f35](https://github.com/curl/curl/tree/04739054cdac5a0614fb94e3655e313c03399f35) contains a NULL-dereference in function `encodeDN()` when parsing the certificate of a server during the TLS connect-phase.
原文中的代码
static CURLcode encodeDN(struct dynbuf *store, struct Curl_asn1Element *dn)
{
    struct dynbuf temp;
    Curl_dyn_init(&temp, MAX_X509_STR);
    
    for(p1 = dn->beg; p1 < dn->end;) {
        for(p2 = rdn.beg; p2 < rdn.end;) {
            // --- snip --- …

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

时间线

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

同类报告

Null Pointer Dereference by Crafted Response from AI ModelBrave Software · 2025-03-26Null pointer dereference in SMTP server function smtp_string_parseOpen-Xchange · — · $1,500NULL pointer dereference in node:sqlite DatabaseSync#applyChangeset() via malformed SQLite changesetNode.js · 2026-05-23wallet-rpc crash via malformed /gettransactions response (empty txs → vector::front() in check_tx_key / check_tx_proof)Monero · 2026-08-05Crash in mrb_ary_pushshopify-scripts · 2019-09-04 · $800important: Apache HTTP Server: Crash resulting in Denial of Service in mod_proxy via a malicious request (CVE-2024-38477)Internet Bug Bounty · 2024-07-13 · $4,920