{"vuln_id":"CVE-2024-27227","aliases":[],"description":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-11-21T19:15:07.498871Z","severity":"unknown","severity_source":null,"cvss_score":null,"cvss_vector":null,"cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0032,"epss_percentile":0.25423,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-27227"},"matched_alias":null,"items":[{"id":599,"source":{"id":"google-security-blog","name":"Google Online Security Blog"},"title":"Bringing Rust to the Pixel Baseband","summary":"Posted by Jiacheng Lu, Software Engineer, Google Pixel Team\n\nGoogle is continuously advancing the security of Pixel devices. We have been focusing on hardening the cellular baseband modem against exploitation.\nRecognizing the risks\nassociated within the complex modem firmware, Pixel 9 shipped with\nmitigations\nagainst a range of memory-safety vulnerabilities. For Pixel 10, Google is advancing its proactive security measures further. Following our previous discussion on\n\"Deploying Rust in Existing Firmware Codebases\"\n, this post shares a concrete application: integrating a memory-safe Rust DNS(Domain Name System) parser into the modem firmware. The new Rust-based DNS parser significantly reduces our security risk by mitigating an entire class of vulnerabilities in a risky area, while also laying the foundation for broader adoption of memory-safe code in other areas.\n\nHere we share our experience of working on it, and hope it can inspire the use of more memory safe languages in low-level environments.\n\nWhy Modem Memory Safety Can’t Wait\n\nIn recent years, we have seen increasing interest in the cellular modem from attackers and security researchers. For example, Google's Project Zero\ngained remote code execution\non Pixel modems over the Internet. Pixel modem has tens of Megabytes of executable code. Given the complexity and remote attack surface of the modem, other critical memory safety vulnerabilities may remain in the predominantly memory-unsafe firmware code.\n\nWhy DNS?\n\nThe DNS protocol is most commonly known in the context of browsers finding websites. With the evolution of cellular technology, modern cellular communications have migrated to digital data networks; consequently, even basic operations such as call forwarding rely on DNS services.\n\nDNS is a complex protocol and requires parsing of untrusted data, which can lead to vulnerabilities, particularly when implemented in a memory-unsafe language (example:\nCVE-2024-27227\n). Implementing the DNS parser in Rust offers value by decreasing the attack surfaces associated with memory unsafety.\n\nPicking a DNS library\n\nDNS already has a level of support in the open-source Rust community. We evaluated multiple open source crates that implement DNS. Based on\ncriteria shared in earlier posts\n, we identified\nhickory-proto\nas the best candidate. It has excellent maintenance, over 75% test coverage, and widespread adoption in the Rust community. Its pervasiveness shows its potential as the de-facto DNS choice and long term support. Although hickory-proto initially lacked\nno_std\nsupport, which is needed for Bare-metal environments (see our\nprevious post\non this topic), we were able to add support to it and its dependencies.\n\nAdding\nno_std\nsupport\n\nThe work to enable\nno_std\nfor hickory-proto is mostly mechanical. We shared the process\nin a previous post\n. We undertook modifications to hickory_proto and its dependencies to enable\nno_std\nsupport. The upstream\nno_std\nwork also results in a\nno_std\nURL parser, beneficial to other projects.\n\nhttps://github.com/hickory-dns/hickory-dns/pull/2104\n\nhttps://github.com/servo/rust-url/pull/831\n\nhttps://github.com/krisprice/ipnet/pull/58\n\nThe above PRs are great examples of how to extend\nno_std\nsupport to existing std-only crates.\n\nCode size study\n\nCode size is the one of the factors that we evaluated when picking the DNS library to use.\n\nCode size\nby category\n\nRust implemented Shim that calls Hickory-proto on receiving a DNS response\n\n4KB\n\ncore, alloc, compiler_builtins\n(reusable, one-time cost)\n\n17KB\n\nHickory-proto library and dependencies\n\n350KB\n\nSum\n\n371KB\n\nWe built prototypes and measured size with\nsize-optimized settings\n. Expectedly,\nhickory_proto\nis not designed with embedded use in mind, and is not optimized for size. As the Pixel modem is not tightly memory constrained, we prioritized community support and code quality, leaving code size optimizations as future work.\n\nHowever, the additional code size may be a blocker for other embedded sy…","url":"http://security.googleblog.com/2026/04/bringing-rust-to-pixel-baseband.html","published_at":"2026-04-10T15:12:00Z","updated_at":"2026-04-10T15:12:43Z","fetched_at":"2026-11-21T19:15:07.449276Z","severity":"unknown","cvss_score":null,"epss":0.0032,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"google","product":null,"vuln_id":"CVE-2024-27227","vuln_ids":["CVE-2024-27227"],"tags":["android","android security","pixel"],"cluster_id":443,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/599","html":"https://vulnwatch.ve1ve2.com/item/599"}}]}