{"id":"GHSA-4c5f-9mj4-m247","aliases":["GHSA-4c5f-9mj4-m247","GO-2026-4279"],"related":[],"kind":"vulnerability","state":"published","title":"flagd: Multiple Go Runtime CVEs Impact Security and Availability","summary":"### Summary\nIn 2025, several vulnerabilities in the Go Standard Library were disclosed, impacting Go-based applications like flagd (the evaluation engine for OpenFeature). These CVEs primarily focus on Denial of Service (DoS) through resource exhaustion and Race Conditions in database handling. \n\n| CVE ID | Impacted Package | Severity | Description & Impact on flagd |\n| -- | -- | -- | -- |\n| CVE-2025-47907 | database/sql | 7.0 (High) | Race Condition:  Canceling a query during a Scan call can return data from the wrong query. Critical if flagd uses SQL-based sync providers (e.g., Postgres), potentially leading to incorrect flag configurations. |\n| CVE-2025-61725 | net/mail | 7.5 (High) | DoS: Inefficient complexity in ParseAddress.  Attackers can provide crafted email strings with large domain literals to exhaust CPU if flagd parses email-formatted metadata. |\n| CVE-2025-61723 | encoding/pem | 7.5 (High) | DoS: Quadratic complexity when parsing invalid PEM inputs. Relevant if flagd loads TLS certificates or keys via PEM files from untrusted sources. |\n| CVE-2025-61729 | crypto/x509 | 7.5 (High) | Resource Exhaustion: HostnameError.Error() lacks string concatenation limits. A malicious TLS certificate with thousands of hostnames could crash flagd during connection handshakes. |\n| CVE-2025-58188 | net/http | Medium | Request Smuggling: Improper header handling in HTTP/1.1. Could allow attackers to bypass security filters positioned in front of flagd sync or evaluation APIs. |\n| CVE-2025-58187 | archive/zip | Medium | DoS:  Improper validation of malformed ZIP archives.  Impacts flagd if configured to fetch and unpack zipped configuration bundles from remote providers. |","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Summary\nIn 2025, several vulnerabilities in the Go Standard Library were disclosed, impacting Go-based applications like flagd (the evaluation engine for OpenFeature). These CVEs primarily focus on Denial of Service (DoS) through resource exhaustion and Race Conditions in database handling. \n\n| CVE ID | Impacted Package | Severity | Description & Impact on flagd |\n| -- | -- | -- | -- |\n| CVE-2025-47907 | database/sql | 7.0 (High) | Race Condition:  Canceling a query during a Scan call can return data from the wrong query. Critical if flagd uses SQL-based sync providers (e.g., Postgres), potentially leading to incorrect flag configurations. |\n| CVE-2025-61725 | net/mail | 7.5 (High) | DoS: Inefficient complexity in ParseAddress.  Attackers can provide crafted email strings with large domain literals to exhaust CPU if flagd parses email-formatted metadata. |\n| CVE-2025-61723 | encoding/pem | 7.5 (High) | DoS: Quadratic complexity when parsing invalid PEM inputs. Relevant if flagd loads TLS certificates or keys via PEM files from untrusted sources. |\n| CVE-2025-61729 | crypto/x509 | 7.5 (High) | Resource Exhaustion: HostnameError.Error() lacks string concatenation limits. A malicious TLS certificate with thousands of hostnames could crash flagd during connection handshakes. |\n| CVE-2025-58188 | net/http | Medium | Request Smuggling: Improper header handling in HTTP/1.1. Could allow attackers to bypass security filters positioned in front of flagd sync or evaluation APIs. |\n| CVE-2025-58187 | archive/zip | Medium | DoS:  Improper validation of malformed ZIP archives.  Impacts flagd if configured to fetch and unpack zipped configuration bundles from remote providers. |","format":"markdown","source":"ghsa"},{"lang":"en","text":"flagd: Multiple Go Runtime CVEs Impact Security and Availability in github.com/open-feature/flagd/core","format":"markdown","source":"go"}],"published":"2026-01-05T15:07:05.000Z","modified":"2026-03-03T04:57:50.429Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-20","CWE-362","CWE-400","CWE-407","CWE-444","CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.13.1"}],"ecosystem":"Go","package":"github.com/open-feature/flagd/core","purl":"pkg:golang/github.com/open-feature/flagd/core","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.8.2"}],"ecosystem":"Go","package":"github.com/open-feature/flagd/flagd-proxy","purl":"pkg:golang/github.com/open-feature/flagd/flagd-proxy","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.13.1"}],"ecosystem":"Go","package":"github.com/open-feature/flagd/flagd","purl":"pkg:golang/github.com/open-feature/flagd/flagd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.13.1"}],"ecosystem":"Go","package":"github.com/open-feature/flagd/core","purl":"pkg:golang/github.com/open-feature/flagd/core","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.13.1"}],"ecosystem":"Go","package":"github.com/open-feature/flagd/flagd","purl":"pkg:golang/github.com/open-feature/flagd/flagd","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.8.2"}],"ecosystem":"Go","package":"github.com/open-feature/flagd/flagd-proxy","purl":"pkg:golang/github.com/open-feature/flagd/flagd-proxy","source":"go"}],"references":[{"url":"https://github.com/open-feature/flagd/security/advisories/GHSA-4c5f-9mj4-m247","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/open-feature/flagd/pull/1840","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/open-feature/flagd","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/open-feature/flagd/releases/tag/core%2Fv0.13.1","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4c5f-9mj4-m247","url":"https://github.com/advisories/GHSA-4c5f-9mj4-m247","licence":"CC-BY-4.0","modified":"2026-02-03T03:14:08.499Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4279","url":"https://pkg.go.dev/vuln/GO-2026-4279","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:50.429Z"}],"updatedAt":"2026-11-25T22:56:24.278Z"}