From dbf8a39be4d1aad297f6d0053f7250c162f3bfb7 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 21:57:09 +0000 Subject: [PATCH] Publish Advisories GHSA-9xfq-8j3r-xp5g GHSA-pffg-92cg-xf5c GHSA-2j6r-9vv4-6gf5 --- .../GHSA-9xfq-8j3r-xp5g.json | 6 +- .../GHSA-pffg-92cg-xf5c.json | 2 +- .../GHSA-2j6r-9vv4-6gf5.json | 69 +++++++++++++++++++ 3 files changed, 71 insertions(+), 6 deletions(-) create mode 100644 advisories/github-reviewed/2024/05/GHSA-2j6r-9vv4-6gf5/GHSA-2j6r-9vv4-6gf5.json diff --git a/advisories/github-reviewed/2023/09/GHSA-9xfq-8j3r-xp5g/GHSA-9xfq-8j3r-xp5g.json b/advisories/github-reviewed/2023/09/GHSA-9xfq-8j3r-xp5g/GHSA-9xfq-8j3r-xp5g.json index e39dcbc26c0..714082ccbc5 100644 --- a/advisories/github-reviewed/2023/09/GHSA-9xfq-8j3r-xp5g/GHSA-9xfq-8j3r-xp5g.json +++ b/advisories/github-reviewed/2023/09/GHSA-9xfq-8j3r-xp5g/GHSA-9xfq-8j3r-xp5g.json @@ -1,7 +1,7 @@ { "schema_version": "1.4.0", "id": "GHSA-9xfq-8j3r-xp5g", - "modified": "2023-10-02T21:34:35Z", + "modified": "2024-05-20T21:55:17Z", "published": "2023-09-28T06:30:20Z", "aliases": [ "CVE-2023-44273" @@ -75,10 +75,6 @@ "type": "WEB", "url": "https://github.com/Consensys/gnark-crypto/releases/tag/v0.12.0" }, - { - "type": "ADVISORY", - "url": "https://github.com/advisories/GHSA-9xfq-8j3r-xp5g" - }, { "type": "WEB", "url": "https://verichains.io" diff --git a/advisories/github-reviewed/2023/10/GHSA-pffg-92cg-xf5c/GHSA-pffg-92cg-xf5c.json b/advisories/github-reviewed/2023/10/GHSA-pffg-92cg-xf5c/GHSA-pffg-92cg-xf5c.json index f9e97c05f6e..45f29664b47 100644 --- a/advisories/github-reviewed/2023/10/GHSA-pffg-92cg-xf5c/GHSA-pffg-92cg-xf5c.json +++ b/advisories/github-reviewed/2023/10/GHSA-pffg-92cg-xf5c/GHSA-pffg-92cg-xf5c.json @@ -1,7 +1,7 @@ { "schema_version": "1.4.0", "id": "GHSA-pffg-92cg-xf5c", - "modified": "2023-11-08T18:36:33Z", + "modified": "2024-05-20T21:55:42Z", "published": "2023-10-05T20:57:20Z", "aliases": [ diff --git a/advisories/github-reviewed/2024/05/GHSA-2j6r-9vv4-6gf5/GHSA-2j6r-9vv4-6gf5.json b/advisories/github-reviewed/2024/05/GHSA-2j6r-9vv4-6gf5/GHSA-2j6r-9vv4-6gf5.json new file mode 100644 index 00000000000..543cb67c292 --- /dev/null +++ b/advisories/github-reviewed/2024/05/GHSA-2j6r-9vv4-6gf5/GHSA-2j6r-9vv4-6gf5.json @@ -0,0 +1,69 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-2j6r-9vv4-6gf5", + "modified": "2024-05-20T21:56:07Z", + "published": "2024-05-20T21:56:07Z", + "aliases": [ + + ], + "summary": "github.com/bincyber/go-sqlcrypter vulnerable to IV collision", + "details": "There is a risk of an IV collision using the awskms or aesgcm provider. NIST SP 800-38D section 8.3 states that it is unsafe to encrypt more than 2^32 plaintexts under the same key when using a random IV. The limit could easily be reached given the use case of database column encryption. Ciphertexts are likely to be persisted and stored together. IV collision could enable an attacker with access to the ciphertexts to decrypt all messages encrypted with the affected key.\n\nThe aesgcm provider cannot be fixed without a breaking change, so users should not encrypt more than 2^32 values with any key. The awskms package can be fixed without a breaking change by switching to a counter-based IV.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/bincyber/go-sqlcrypter" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.1.0" + }, + { + "last_affected": "0.2.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/bincyber/go-sqlcrypter/issues/127" + }, + { + "type": "WEB", + "url": "https://github.com/bincyber/go-sqlcrypter/pull/128" + }, + { + "type": "WEB", + "url": "https://github.com/bincyber/go-sqlcrypter/commit/96c73cd2b8fd15c9da9b3eafe62c9a040f6537e8" + }, + { + "type": "PACKAGE", + "url": "https://github.com/bincyber/go-sqlcrypter" + }, + { + "type": "WEB", + "url": "https://pkg.go.dev/vuln/GO-2024-2451" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-327" + ], + "severity": "LOW", + "github_reviewed": true, + "github_reviewed_at": "2024-05-20T21:56:07Z", + "nvd_published_at": null + } +} \ No newline at end of file