From fccae67a43ecd3b47b906ba68457b14316d9248f Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 21:44:34 +0000 Subject: [PATCH] Publish Advisories GHSA-5hc5-fxr9-5frc GHSA-fpmr-m242-xm7x GHSA-j7jw-28jm-whr6 --- .../GHSA-5hc5-fxr9-5frc.json | 11 ++- .../GHSA-fpmr-m242-xm7x.json | 88 +++++++++++++++++++ .../GHSA-j7jw-28jm-whr6.json | 65 ++++++++++++++ 3 files changed, 158 insertions(+), 6 deletions(-) create mode 100644 advisories/github-reviewed/2025/02/GHSA-fpmr-m242-xm7x/GHSA-fpmr-m242-xm7x.json create mode 100644 advisories/github-reviewed/2025/02/GHSA-j7jw-28jm-whr6/GHSA-j7jw-28jm-whr6.json diff --git a/advisories/github-reviewed/2024/09/GHSA-5hc5-fxr9-5frc/GHSA-5hc5-fxr9-5frc.json b/advisories/github-reviewed/2024/09/GHSA-5hc5-fxr9-5frc/GHSA-5hc5-fxr9-5frc.json index bd41eeae583..0813226a154 100644 --- a/advisories/github-reviewed/2024/09/GHSA-5hc5-fxr9-5frc/GHSA-5hc5-fxr9-5frc.json +++ b/advisories/github-reviewed/2024/09/GHSA-5hc5-fxr9-5frc/GHSA-5hc5-fxr9-5frc.json @@ -1,13 +1,12 @@ { "schema_version": "1.4.0", "id": "GHSA-5hc5-fxr9-5frc", - "modified": "2024-09-19T16:06:11Z", + "modified": "2025-02-21T21:43:09Z", "published": "2024-09-19T00:31:32Z", - "aliases": [ - "CVE-2022-25770" - ], - "summary": "Mautic has insufficient authentication in upgrade flow", - "details": "Mautic allows you to update the application via an upgrade script.\n\nThe upgrade logic isn't shielded off correctly, which may lead to vulnerable situation.\n\nThis vulnerability is mitigated by the fact that Mautic needs to be installed in a certain way to be vulnerable.", + "withdrawn": "2025-02-21T21:43:09Z", + "aliases": [], + "summary": "Duplicate Advisory: Mautic has insufficient authentication in upgrade flow", + "details": "# Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-qf6m-6m4g-rmrc. This link is maintained to preserve external references.\n\n# Original Description\nMautic allows you to update the application via an upgrade script.\n\nThe upgrade logic isn't shielded off correctly, which may lead to vulnerable situation.\n\nThis vulnerability is mitigated by the fact that Mautic needs to be installed in a certain way to be vulnerable.", "severity": [ { "type": "CVSS_V3", diff --git a/advisories/github-reviewed/2025/02/GHSA-fpmr-m242-xm7x/GHSA-fpmr-m242-xm7x.json b/advisories/github-reviewed/2025/02/GHSA-fpmr-m242-xm7x/GHSA-fpmr-m242-xm7x.json new file mode 100644 index 00000000000..9cedb98ed79 --- /dev/null +++ b/advisories/github-reviewed/2025/02/GHSA-fpmr-m242-xm7x/GHSA-fpmr-m242-xm7x.json @@ -0,0 +1,88 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-fpmr-m242-xm7x", + "modified": "2025-02-21T21:42:43Z", + "published": "2025-02-21T21:42:43Z", + "aliases": [ + "CVE-2025-1403" + ], + "summary": "Malciously crafted QPY files can allows Remote Attackers to Cause Denial of Service in Qiskit", + "details": "### Impact\n\nA maliciously crafted QPY file containing a malformed `symengine` serialization stream as part of the larger QPY serialization of a `ParameterExpression` object can cause a segfault within the `symengine` library, allowing an attacker to terminate the hosting process deserializing the QPY payload.\n\n### Patches\n\nThis issue is addressed in 1.3.0 when using QPY format version 13. QPY format versions 10, 11, and 12 are all still inherently vulnerable if they are using symengine symbolic encoding and `symengine <= 0.13.0` is installed in the deserializing environment (as of publishing there is no newer compatible release of symengine available). Using QPY 13 is strongly recommended for this reason.\n\nThe symengine 0.14.0 release has addressed the segfault issue, but it is backward incompatible and will not work with any Qiskit release; it also prevents loading a payload generated with any other version of symengine. Using QPY 13 is strongly recommended for this reason.\n\nIt is also strongly suggested to patch the locally installed version of symengine in the deserializing environment to prevent the specific segfault. The commit [1] can be applied on top of symengine 0.13.0 and used to build a patched python library that will not segfault in the presence of a malformed payload and instead raise a `RuntimeError` which will address the vulnerability.\n\n### Workarounds\n\nAs QPY is backwards compatible `qiskit.qpy.load()` function will always attempt to deserialize the `symengine`-serialized payloads in QPY format versions 10, 11, and 12. These are any payloads generated with the `use_symengine` argument on `qiskit.qpy.dump()` set to `True` (which is the default value starting in Qiskit 1.0.0. The only option is to disallow parsing if those QPY formats are being read and the `use_symengine` flag was set in the file's header. You can detect whether a payload is potentially vulnerable by using the following function built using the Python standard library:\n\n```python\nimport struct\nfrom collections import namedtuple\n\n\ndef check_qpy_payload(path: str) -> bool:\n \"\"\"Function to check if a QPY payload is potentially vulnerable to a symengine vulnerability.\n\n Args:\n path: The path to the QPY file\n\n Returns:\n Whether the specified payload is potentially vulnerable. If ``True`` the conditions for\n being vulnerable exist, however the payload may not be vulnerable it can't be detected\n until trying to deserialize.\n \"\"\"\n with open(path, \"rb\") as file_obj:\n version = struct.unpack(\"!6sB\", file_obj.read(7))[1]\n if version < 10 or version >= 13:\n return False\n file_obj.seek(0)\n header_tuple = namedtuple(\n \"FILE_HEADER\",\n [\n \"preface\",\n \"qpy_version\",\n \"major_version\",\n \"minor_version\",\n \"patch_version\",\n \"num_programs\",\n \"symbolic_encoding\",\n ],\n )\n header_pack_str = \"!6sBBBBQc\"\n header_read_size = struct.calcsize(header_pack_str)\n data = struct.unpack(header_pack_str, file_obj.read(header_read_size))\n header = header_tuple(*data)\n return header.symbolic_encoding == b\"e\"\n```\n\nNote, this function does **not** tell you whether the payload is malicious and will cause the segfault, just that conditions for it to be potentially malicious exist. It's not possible to know ahead of time whether `symengine` will segfault until the data is passed to that library.\n\n### References\n\n[1] https://github.com/symengine/symengine/commit/eb3e292bf13b2dfdf0fa1c132944af8df2bc7d51", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "qiskit" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.45.0" + }, + { + "fixed": "1.3.0" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "qiskit-terra" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.45.0" + }, + { + "last_affected": "0.46.3" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/Qiskit/qiskit/security/advisories/GHSA-fpmr-m242-xm7x" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-1403" + }, + { + "type": "WEB", + "url": "https://github.com/symengine/symengine/commit/eb3e292bf13b2dfdf0fa1c132944af8df2bc7d51" + }, + { + "type": "PACKAGE", + "url": "https://github.com/Qiskit/qiskit" + }, + { + "type": "WEB", + "url": "https://www.ibm.com/support/pages/node/7183868" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-502" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2025-02-21T21:42:43Z", + "nvd_published_at": "2025-02-21T17:15:13Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2025/02/GHSA-j7jw-28jm-whr6/GHSA-j7jw-28jm-whr6.json b/advisories/github-reviewed/2025/02/GHSA-j7jw-28jm-whr6/GHSA-j7jw-28jm-whr6.json new file mode 100644 index 00000000000..2b60e0d4996 --- /dev/null +++ b/advisories/github-reviewed/2025/02/GHSA-j7jw-28jm-whr6/GHSA-j7jw-28jm-whr6.json @@ -0,0 +1,65 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-j7jw-28jm-whr6", + "modified": "2025-02-21T21:43:16Z", + "published": "2025-02-21T21:43:16Z", + "aliases": [ + "CVE-2025-27100" + ], + "summary": "lakeFS allows an authenticated user to cause a crash by exhausting server memory", + "details": "### Impact\n\nAn authenticated user can crash lakeFS by exhausting server memory. This is an authenticated denial-of-service issue.\n\n### Patches\nThis problem has been patched and exists in versions 1.49.1 and below\n\n### Workarounds\n\nOn S3 backends, configure\n```yaml\n# ...\nblockstore:\n s3:\n disable_pre_signed_multipart: true\n```\nor set environment variable `LAKEFS_BLOCKSTORE_S3_DISABLE_PRE_SIGNED_MULTIPART` to `true`.\n\n### References\n_Are there any links users can visit to find out more?_", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/treeverse/lakefs" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "1.50.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/treeverse/lakeFS/security/advisories/GHSA-j7jw-28jm-whr6" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-27100" + }, + { + "type": "WEB", + "url": "https://github.com/treeverse/lakeFS/commit/3a625752acdf3f8e137bec20451e71d0f9fa82f2" + }, + { + "type": "PACKAGE", + "url": "https://github.com/treeverse/lakeFS" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-400" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-02-21T21:43:16Z", + "nvd_published_at": "2025-02-21T00:15:09Z" + } +} \ No newline at end of file