{"schemaVersion":3,"id":"CVE-2024-40120","aliases":["GHSA-q97m-8853-pq76","BIT-seaweedfs-2024-40120","GO-2025-3690","CGA-29x3-rwj9-2f66","CGA-4jf4-6mcp-544r","CGA-f9rg-cxx6-vc7f","CGA-jmfc-xh37-q2hx"],"status":"published","duplicateOf":null,"title":null,"description":"seaweedfs v3.68 was discovered to contain a SQL injection vulnerability via the component /abstract_sql/abstract_sql_store.go.","dates":{"published":"2025-05-16T00:00:00.000Z","modified":"2025-05-16T15:11:00.736Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00264,"percentile":0.1712,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.010999999999999985,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00253},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00264,"percentile":0.1712}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00253,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00264,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00264,"percentile":0.1712}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_SEAWEEDFS_SEAWEEDFS","name":"Seaweedfs","source":"github","url":"https://github.com/seaweedfs/seaweedfs/issues/5710","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_SUD0WHY_1B2115C1D644BD3DB1C1B3F16684A78C","name":"1B2115C1D644Bd3Db1C1B3F16684A78C","source":"github","url":"https://gist.github.com/sud0why/1b2115c1d644bd3db1c1b3f16684a78c","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"chainguard","product":"seaweedfs-operator","name":"seaweedfs-operator","label":"seaweedfs-operator","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/seaweedfs-operator","purlType":"apk","versions":[{"text":"< 1.0.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.6-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"seaweedfs-operator-fips","name":"seaweedfs-operator-fips","label":"seaweedfs-operator-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/seaweedfs-operator-fips","purlType":"apk","versions":[{"text":"< 1.0.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.6-r0","eol":null,"hubHref":null},{"vendor":"github.com/seaweedfs","product":"seaweedfs","name":"github.com/seaweedfs/seaweedfs","label":"seaweedfs","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/seaweedfs/seaweedfs","purlType":"golang","versions":[{"text":"< 0.0.0-20240625155419-9ac102336200","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.0-20240625155419-9ac102336200","eol":null,"hubHref":null},{"vendor":"seaweedfs","product":"seaweedfs","name":"seaweedfs","label":"seaweedfs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.68","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.68","eol":null,"hubHref":"/vendor/seaweedfs/seaweedfs"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/seaweedfs/seaweedfs/issues/5710","label":"github.com/seaweedfs/seaweedfs/issues/5710","hostname":"github.com","tags":["WEB","REPORT","Exploit","Issue Tracking"]},{"url":"https://gist.github.com/sud0why/1b2115c1d644bd3db1c1b3f16684a78c","label":"gist.github.com/sud0why/1b2115c1d644bd3db1c1b3f16684a78c","hostname":"gist.github.com","tags":["WEB","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40120","label":"nvd.nist.gov/vuln/detail/CVE-2024-40120","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/seaweedfs/seaweedfs/commit/9ac1023362000f6e8e58c9d278653f5926a0d90e","label":"github.com/seaweedfs/seaweedfs/commit/9ac1023362000f6e8e58c9d278653f5926a0d90e","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/seaweedfs/seaweedfs","label":"github.com/seaweedfs/seaweedfs","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/seaweedfs/seaweedfs/releases/tag/3.69","label":"github.com/seaweedfs/seaweedfs/releases/tag/3.69","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-q97m-8853-pq76","label":"github.com/advisories/GHSA-q97m-8853-pq76","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40120.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40120.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15159-1"],"duplicates":[],"related":["CGA-437M-96HR-H87G","OPENSUSE-SU-2025:15159-1"]},"timeline":[{"kind":"published","date":"2025-05-16T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-16T15:11:00.736Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:47:17.119Z","stale":false,"partial":false}}