Advisories
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
1,675 items
Prior to version 2.8.11, the `gradio` library's flagging feature saves input and output data into a CSV file on the developer's computer without neutralizing formula elements. A user can therefore store arbitrary text such as commands in that file, and when a spreadsheet program like MS Excel opens it, those commands run automatically on the developer's machine.
Fix: Fixed in 2.8.11, which escapes the saved CSV with single quotes. Workaround: avoid opening CSV files generated by `gradio` with Excel or similar spreadsheet programs.
NVD/CVE DatabaseCVE-2022-0845 is a Code Injection flaw (CWE-94, Improper Control of Generation of Code) in the GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0. NVD has not yet provided an assessment, and the record cites a huntr.dev advisory and a GitHub commit as references.
Fix: Patch: the source links a GitHub commit (https://github.com/pytorchlightning/pytorch-lightning/commit/8b7a12c52e52a06408e9231647839ddb4665e8ae) tagged as a patch, but it does not state a fixed version beyond the…
CVE-2022-0736 is an insecure temporary file weakness, classified as CWE-377, in the GitHub repository mlflow/mlflow prior to 1.23.1. The entry was published on 02/23/2022 and last modified on 11/21/2024, and NIST had not yet provided an NVD assessment. The source describes the weakness only at this level and does not state what an attacker gains or what preconditions apply.
Fix: Patch: https://github.com/mlflow/mlflow/commit/61984e6843d2e59235d82a580c529920cd8f3711 (the source lists it as a patch link, and it refers to the fix as the prior-to-1.23.1 change).
CVE-2022-23595 affects TensorFlow when an XLA compilation cache is built with default settings. In that default scenario, all devices are allowed, so `flr->config_proto` is `nullptr`, and TensorFlow triggers a null pointer dereference (CWE-476). The source states that the flaw affects TensorFlow 2.7.1, 2.6.3 and 2.5.3 as well as the version the fix ships in.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked onto TensorFlow 2.7.1, 2.6.3 and 2.5.3.
TensorFlow's TFG dialect (MLIR) assumes certain properties of an incoming `GraphDef` before converting it to the MLIR-based dialect. An attacker who alters the `SavedModel` format on disk to break these assumptions can crash the Python interpreter when the `GraphDef` is converted, and under certain scenarios heap out-of-bounds reads and writes are possible. The issues were found by fuzzing, and the advisory notes more weaknesses may exist and will be patched as found.
CVE-2022-23593 affects TensorFlow's `simplifyBroadcast` function in the MLIR-TFRT infrastructure. When called with scalar shapes, the function can segfault, causing a denial of service. TensorFlow 2.8.0 includes the fix, and it is the only affected version.
Fix: Fix will be included in TensorFlow 2.8.0.
NVD/CVE DatabaseCVE-2022-23592 affects TensorFlow, an open source machine learning framework. Its type inference performs bounds checking inside a `DCHECK`, which is a no-op in production builds, allowing a heap out of bounds read. An attacker who controls the `input_idx` variable can make `ix` exceed the number of values in `node_t.args`. TensorFlow 2.8.0 is the only affected version.
Fix: The fix will be included in TensorFlow 2.8.0.
NVD/CVE DatabaseCVE-2022-23591 affects TensorFlow's `GraphDef` format, which should not allow self-recursive functions but does not enforce this, and the runtime assumes the invariant holds. A crafted `GraphDef` fragment loaded through a `SavedModel` can trigger a stack overflow during execution, because resolving each `NodeDef` requires resolving the function and its nodes again.
Fix: The fix will be included in TensorFlow 2.8.0. The same commit will be cherry-picked to TensorFlow 2.7.1, 2.6.3 and 2.5.3, which are also affected and still within the supported range.
CVE-2022-23590 affects TensorFlow. A GraphDef inside a TensorFlow SavedModel can be maliciously altered so that a TensorFlow process crashes when it encounters a StatusOr value holding an error and forcibly extracts the value from it. The source says both TensorFlow 2.8.0 and TensorFlow 2.7.1 are affected.
Fix: Patched in multiple GitHub commits, to be included in TensorFlow 2.8.0 and TensorFlow 2.7.1.
NVD/CVE DatabaseTensorFlow's Grappler component can trigger a null pointer dereference when a `SavedModel` file is maliciously altered. The flaw occurs during constant folding, where a missing node in the `GraphDef` leaves the `mul_*child` null, and similarly during `IsIdentityConsumingSwitch`.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
CVE-2022-23588 affects TensorFlow, an open source machine learning framework. A malicious user can alter a `SavedModel` so that the Grappler optimizer tries to build a tensor using a reference `dtype`, which triggers a `CHECK`-fail in the `Tensor` constructor and crashes the process, causing a denial of service.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
CVE-2022-23587 affects TensorFlow's Grappler component. Under certain scenarios, an integer overflow occurs during cost estimation for crop and resize, and because the cropping parameters are user controlled, a malicious person can trigger undefined behavior.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
NVD/CVE DatabaseCVE-2022-23586 affects TensorFlow, an open source machine learning framework. A malicious user can alter a `SavedModel` so that assertions in `function.cc` are falsified, crashing the Python interpreter and causing a denial of service. The record is classified under CWE-617, Reachable Assertion.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, which are also affected and still in supported range.
TensorFlow's PNG decoder leaks memory when it processes an invalid image. In several error cases, the OP_REQUIRES macro ends png::CommonInitDecode(..., &decode) execution before png::CommonFreeDecode(&decode) can free the buffers it allocated. The fix ships in TensorFlow 2.8.0, with backports to 2.7.1, 2.6.3, and 2.5.3.
Fix: Fixed in TensorFlow 2.8.0. The fix will also be cherry-picked to TensorFlow 2.7.1, 2.6.3, and 2.5.3.
NVD/CVE DatabaseCVE-2022-23584 is a use-after-free flaw in TensorFlow's PNG image decoding. A malicious user can trigger it, because the values of decode.width and decode.height are left in an unspecified state after png::CommonFreeDecode(&decode) is called. The source says TensorFlow 2.7.1, 2.6.3 and 2.5.3 are also affected and still in supported range.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, 2.6.3 and 2.5.3.
CVE-2022-23583 in TensorFlow lets a malicious user cause a denial of service by modifying a SavedModel so that the protobuf part for the tensor arguments no longer matches the dtype expected by a binary op. The mismatch causes type confusion, and in some scenarios it triggers a CHECK crash. The source says most cases fail silently, while some crash.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, which the source says are affected and still in supported range.
CVE-2022-23582 in TensorFlow lets a malicious user cause a denial of service by altering a `SavedModel` so that `TensorByteSize` triggers `CHECK` failures. The `TensorShape` constructor aborts on partial shapes or element counts that overflow an `int`, while the `PartialTensorShape` constructor does not abort on partial shapes, which this function needs in order to return `-1`.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, which are affected and still in the supported range.
CVE-2022-23581 is a denial-of-service flaw in the Grappler optimizer in TensorFlow. An attacker can alter a `SavedModel` so that `IsSimplifiableReshape` triggers `CHECK` failures, which is classified as CWE-617 (Reachable Assertion). The fix will be included in TensorFlow 2.8.0, with backports planned for TensorFlow 2.7.1, 2.6.3 and 2.5.3.
Fix: Fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
CVE-2022-23580 affects TensorFlow, an open source machine learning framework. During shape inference, TensorFlow can allocate a large vector sized by a value from a tensor that the user controls, which enables uncontrolled resource consumption (CWE-400) and improper validation of a specified quantity (CWE-1284).
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, which are also affected and still in the supported range.
CVE-2022-23579 affects TensorFlow's Grappler optimizer. An attacker can alter a `SavedModel` so that `SafeToRemoveIdentity` triggers `CHECK` failures, causing a denial of service.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
NVD/CVE Database