Python 漏洞与安全更新

555 条

12月6日周日今天

12月5日周六昨天

  • 低危07:52漏洞公告PythonGitHub Advisory Database

    filelock: Read-only local account can stall strict lock acquisition on Windows

    受影响: pip:filelock < 4.3.0 → 4.3.0 On Windows, a local account with read access to a shared strict-lock claims directory can delay a later StrictSoftFileLock acquisition beyond its timeout. This requires an aged private record left by an interrupted acquisition. The observed effect was a delayed acquisition. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. Windows acquisitions now validate private records and leave them in place. Restrict read access through the directory and inherited file ACLs.…

  • 低危07:51漏洞公告PythonGitHub Advisory Database

    filelock: Shared-directory entries delay read-write locks beyond timeout

    受影响: pip:filelock < 4.3.0 → 4.3.0 On POSIX, another account with write access to the parent directory of a SQLite lock database can make ReadWriteLock initialization and acquisition run past their requested timeout, even when the lock is free. AsyncReadWriteLock constructs the same backend on the event-loop thread, so a slow initialization can also delay other tasks. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. Dead-holder cleanup now checks a 50 ms budget between directory entries and can re…

  • 中危07:51漏洞公告PythonGitHub Advisory Database

    filelock: Planted Windows path prevents private soft-lock recovery

    受影响: pip:filelock < 4.3.0 → 4.3.0 On Windows, a local account allowed to create drive-root directories can influence the owner identity recorded by SoftFileLock and MarkerSoftFileLock, including for locks in a private directory. If the holder dies, later processes can mistake the dead owner's marker for a remote hold and leave the lock unavailable. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. Windows now skips the Linux PID-namespace probe. Use the native Windows FileLock where suitable. For…

  • 低危07:51漏洞公告PythonGitHub Advisory Database

    filelock: Readable database oplock delays async cancellation on Windows

    受影响: pip:filelock = 4.2.12 → 4.3.0 On Windows, another local account with read access to a SQLite lock database can delay cancellation of an AsyncReadWriteLock acquisition. The task and application shutdown can wait past the task deadline, up to the lock's own timeout. Older databases and deliberately shared databases may grant the necessary access. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. An interrupted acquire can now stop its worker between attempts. Lock construction still has its own…

  • 低危07:50漏洞公告PythonGitHub Advisory Database

    filelock: Linux overflow UID can admit attacker-owned lock trees

    受影响: pip:filelock < 4.3.0 → 4.3.0 A Linux user namespace can report the same overflow UID for unrelated host accounts. When the namespace shares a sticky lock directory with the host, SoftReadWriteLock can accept another account's protocol tree as trusted and admit a reader while a writer holds the lock. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The ownership check rejects an ambiguous overflow UID instead of treating matching numeric IDs as proof of ownership. [PR #…

  • 低危07:50漏洞公告PythonGitHub Advisory Database

    filelock: Strict soft lock can chmod unrelated directory

    受影响: pip:filelock < 4.3.0 → 4.3.0 In a group-writable directory without the sticky bit, StrictSoftFileLock can mistake an unrelated directory owned by the locking account for its coordination directory. It can change that directory's permissions and create a claims directory inside it, disrupting access for other users. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The lock checks the claims directory and its entries before changing permissions. [PR #978](https://github.…

  • 低危07:44漏洞公告SQLitePythonGitHub Advisory Database

    filelock: ReadWriteLock can delete a private file from a leftover SQLite journal

    受影响: pip:filelock < 4.3.0 → 4.3.0 A ReadWriteLock database can retain an untrusted SQLite journal after its directory changes from shared to private. Opening the database can delete an unrelated file that the locking account has permission to read and remove. Changing directory permissions does not remove existing journals. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. When SQLite side files are present, the lock opens the database through a private hard link. [PR #976](…

  • 低危07:43漏洞公告PythonGitHub Advisory Database

    filelock: SoftReadWriteLock heartbeat overwrites victim-owned files after inode reuse

    受影响: pip:filelock < 4.3.0 → 4.3.0 A SoftReadWriteLock heartbeat can overwrite the beginning of an unrelated file with holder-record data. This requires a shared directory where another account can rename entries and a filesystem that reuses inode numbers. The overwrite was confirmed on ext4. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The heartbeat verifies the holder token on the open descriptor before writing. A mismatch marks the hold as lost. The fix does not prote…

  • 低危07:42漏洞公告PythonGitHub Advisory Database

    filelock: SoftFileLock recovery can admit two holders through a foreign-owned record

    受影响: pip:filelock >= 4.2.1, <= 4.2.12 → 4.3.0 During stale-marker recovery, SoftFileLock can admit two holders if another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. Affected versions and fix Versions 4.2.1 through 4.2.12 are affected. Upgrade to filelock 4.3.0 or later. Recovery keeps foreign-owned records away from the public lock path. [PR #975](https://github.com/tox…

  • 低危07:42漏洞公告PythonGitHub Advisory Database

    filelock: SoftFileLock recovery can admit two holders through a live break name

    受影响: pip:filelock >= 4.2.1, <= 4.2.12 → 4.3.0 On POSIX filesystems with atomic name exchange, SoftFileLock can misidentify an active recovery record as abandoned. If another local account can create markers in the shared sticky lock directory, racing recoveries can let two holders enter the same critical section. Affected versions and fix Versions 4.2.1 through 4.2.12 are affected. Upgrade to filelock 4.3.0 or later. Recovery leaves a break record in place while the process identified by its name is running. PID reuse can therefore delay c…

  • 低危07:41漏洞公告PythonGitHub Advisory Database

    filelock: ReadWriteLock write holds overlap after WAL header race

    受影响: pip:filelock < 4.3.0 → 4.3.0 Two ReadWriteLock callers can both enter write critical sections if another account can modify their shared SQLite lock database. The overlap can occur when the database changes to write-ahead logging (WAL) while acquisition is waiting. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. After beginning the transaction, the lock checks SQLite's active journal mode and refuses a WAL transaction. [PR #980](https://github.com/tox-dev/filelock/pul…

  • 低危07:40漏洞公告PythonGitHub Advisory Database

    filelock: SoftReadWriteLock timeout overrun on growing generation log

    受影响: pip:filelock < 4.3.0 → 4.3.0 An account with write access to a SoftReadWriteLock generation directory can keep an acquisition scanning beyond its timeout and consume CPU. The overrun was confirmed during write acquisition. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. Each generation scan now has a work limit so acquisition can check its deadline between scans. A scan already in progress can still delay the timeout. [PR #981](https://github.com/tox-dev/filelock/pull…

  • 低危07:40漏洞公告SQLitePythonGitHub Advisory Database

    filelock: ReadWriteLock write holds overlap on read-only SQLite header

    受影响: pip:filelock < 4.3.0 → 4.3.0 Two ReadWriteLock callers can both acquire a write lock if the shared SQLite database advertises a write format that SQLite treats as read-only. Another account needs write access to the lock database. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The lock rejects an unsupported SQLite write format before granting a hold. [PR #979](https://github.com/tox-dev/filelock/pull/979) Workaround Restrict write access to the lock database and its…

  • 低危07:39漏洞公告PythonGitHub Advisory Database

    filelock: Soft locks admit overlapping holders with a foreign procfs mount

    受影响: pip:filelock < 4.3.0 → 4.3.0 On Linux, a soft lock can mistake a live holder for a stale one when the locking processes see a /proc mount from a different PID namespace. If the same numeric PID identifies an unrelated process in that namespace, changes to that process can allow two holders into the protected section at the same time. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade all processes sharing the lock to 4.3.0 or later. Configure each process’s /proc mount to match its P…

  • 低危07:38漏洞公告PythonGitHub Advisory Database

    filelock: Windows read-handle oplock holds stale soft-lock recovery past timeout

    受影响: pip:filelock < 4.3.0 → 4.3.0 On Windows, a local account with read access to a stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects SoftFileLock, MarkerSoftFileLock and SoftFileLease when another process holds a read-handle opportunistic lock on the stale marker. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. Filelock now bounds the wait for the stale-marker rename and treats a canceled rename as contention. A single a…

  • 低危07:22漏洞公告PythonGitHub Advisory Database

    filelock: Temporary-directory exhaustion can expose files through strict lock publication

    受影响: pip:filelock < 4.3.0 → 4.3.0 On Unix, temporary-directory exhaustion during filelock import can disable a safeguard in StrictSoftFileLock publication. A local account with rename access to entries in a shared, non-sticky lock directory can gain read access to a file on the same filesystem. The confirmed case involved a world-readable file whose enclosing directory prevented access. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. An environmental failure during t…

  • 低危07:22漏洞公告PythonGitHub Advisory Database

    filelock: Read-only oplock can hold strict lock acquisition past its timeout

    受影响: pip:filelock < 4.3.0 → 4.3.0 On Windows, a local account with read access to an idle StrictSoftFileLock sentinel can delay acquisition beyond the requested timeout. A Windows opportunistic lock (oplock) on the sentinel can keep the caller’s thread waiting inside the operating system, including during a nonblocking acquisition. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. Filelock now opens the sentinel without waiting for an outstanding oplock break, letting…

  • 低危07:21漏洞公告PythonGitHub Advisory Database

    filelock: Writable strict sentinel can admit a soft lock beside its holder

    受影响: pip:filelock < 4.3.0 → 4.3.0 On POSIX, a new StrictSoftFileLock sentinel can inherit group or other write permission. An account with that access can change the sentinel so that a SoftFileLock client enters the protected section while the strict lock remains held. This affects applications sharing a path between strict and legacy soft locks. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. Filelock now removes group and other write permission when creating strict…

  • 低危07:21漏洞公告PythonGitHub Advisory Database

    filelock: Failed async release can unlock under a later holder

    受影响: pip:filelock < 4.3.0 → 4.3.0 An async lock can lose mutual exclusion after executor submission raises during release. A thread pool may already have queued the release. If the application reuses the same lock instance, that release can run during a later hold and allow another process to enter. On Linux, a local account sharing the application’s process and thread quota could trigger the submission failure. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. Async e…

  • 低危07:20漏洞公告PythonGitHub Advisory Database

    filelock: SoftReadWriteLock admits overlapping writers through a moved writable tree

    受影响: pip:filelock < 4.3.0 → 4.3.0 On POSIX, SoftReadWriteLock can accept a protocol directory whose owner it trusts but whose permissions allow another account to write. In a shared sticky lock location, an account with control over such a directory can cause two processes to hold write locks concurrently without a compromise notification. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. Filelock now checks the ownership and permissions of every protocol directory aga…

  • 低危07:20漏洞公告PythonGitHub Advisory Database

    filelock: Mixed strict and soft locks can overlap after foreign sentinel removal

    受影响: pip:filelock < 4.3.0 → 4.3.0 On POSIX, a StrictSoftFileLock holder and a soft-lock client using the same path could both enter their critical sections if another account owned the sentinel in a shared sticky directory. This compromises mutual exclusion during a mixed-client migration. The report established overlapping holds. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. Strict acquisition now refuses a sentinel owned by an untrusted account. Use a directory writable only by the participa…

  • 低危07:19漏洞公告PythonGitHub Advisory Database

    filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse

    受影响: pip:filelock < 4.3.0 → 4.3.0 On Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. Filelock now checks ownership and…

  • 中危07:19漏洞公告PythonGitHub Advisory Database

    filelock: ReadWriteLock can overwrite victim-owned files through a directory swap

    受影响: pip:filelock < 4.3.0 → 4.3.0 On POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. Filelock now creates the final database link inside a f…

  • 低危07:18漏洞公告PythonGitHub Advisory Database

    filelock: Read-only handles can strand strict lock claims on Windows

    受影响: pip:filelock < 4.3.0 → 4.3.0 On Windows, a process with read access to strict-lock claims can cause StrictSoftFileLock.release() to fail. A published claim can continue blocking later acquisitions after the reader closes its handle. The handle behavior was confirmed on Windows 11. Affected version and mitigation The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later. The lock now retains the handles needed to withdraw its public claims. Release can still wait for Windows or report a cleanup failure. R…

  • 低危07:16漏洞公告PythonGitHub Advisory Database

    FileLock on Unix lets two processes hold one lock after another user removes the lock file

    受影响: pip:filelock >= 3.13.2, <= 4.2.11 → 4.2.12 On Unix, FileLock locks a regular file that already exists at the lock path, including one another local account created. Under a sticky directory such as /tmp that account owns the file and may remove it while a process holds the lock. The next process to acquire the lock creates and locks a new file at the same path, so two processes hold the same exclusive lock. [oss-security-shopify](https://github.com/oss-security-shopify) reported this through private vulnerability reporting as GHSA-386w-…

  • 低危06:51漏洞公告PythonGitHub Advisory Database

    pymonocypher: argon2i_32 can overflow the heap on 32-bit builds when nb_blocks >= 2**22 (work area size wraps)

    受影响: pip:pymonocypher >= 4.0.2.4, < 4.0.3.6 → 4.0.3.6 On builds where size_t is 32 bits, argon2i_32() computes the size of the Argon2 work area as nb_blocks 1024 in size_t, and the product wraps for nb_blocks >= 222. malloc is then asked for a much smaller buffer (8 KiB for nb_blocks = 222 + 8), while crypto_argon2() still fills about nb_blocks blocks of 1 KiB (it rounds the count down to a multiple of 4). Whenever that small allocation succeeds, the result is a heap buffer overflow (write). The three such cases I ran ended in a segmentation fault…

  • 中危06:51漏洞公告PythonGitHub Advisory Database

    Potato: SSRF protection in /api/web_agent/proxy can be bypassed with a redirect or a backslash in the URL

    受影响: pip:potato-annotation >= 2.4.0, <= 2.14.0 → 2.14.1 When a task config uses the web_agent_trace or web_agent_recorder display type, Potato registers a web proxy at /api/web_agent/proxy/ for logged-in annotators. The proxy is meant to refuse private and loopback addresses, and it does return 403 for http://127.0.0.1:8080/. Two kinds of input get past that check, and the proxy returns the internal response to the caller: 1. A public URL that answers with a redirect to an internal address. The hostname is checked once and requests follows the redir…

  • 高危06:49漏洞公告PythonGitHub Advisory Database

    PDM: A project pdm.toml can still set cache_dir, which brings back project-controlled plugin code at pdm startup

    受影响: pip:pdm >= 2.27.0, < 2.29.8 → 2.29.8 GHSA-qq6c-99pv-prvf was fixed by moving the per-project plugin library out of the project, to /plugins/ - . cache_dir is declared global-only, but that is checked only when a value is written. A pdm.toml committed to a repository (the docs recommend committing it) can still set cache_dir, and the plugin library path is then computed under a directory the repository controls. A repository can ship that directory with a .pth file, and pdm runs it at startup, before parsing arguments. In my test p…

  • 低危06:42漏洞公告PythonGitHub Advisory Database

    filelock: Crafted lock database delays free ReadWriteLock acquisition

    受影响: pip:filelock < 4.3.0 → 4.3.0 If another local account can create or modify a SQLite lock database, loading its schema can consume CPU past the acquisition timeout even when the lock is free. Both ReadWriteLock and AsyncReadWriteLock load the schema. Tests confirmed a finite timeout overrun. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. The SQLite backend now applies tighter schema limits and checks progress more often. An existing database above those limits can raise ValueError. Use a de…

  • 中危06:41漏洞公告PythonGitHub Advisory Database

    filelock: Failed async lock construction disables fork resets for other locks

    受影响: pip:filelock < 4.3.0 → 4.3.0 On POSIX, an AsyncReadWriteLock constructor failure could prevent a forked child from resetting unrelated locks, including locks in private directories. The process had to retain the failed construction and then fork. A local account able to populate an optional lock path could cause the initial failure. Overlapping holds were demonstrated only when the child reused an active SQLite lock before exec, an unsupported operation. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrad…

  • 低危06:41漏洞公告PythonGitHub Advisory Database

    filelock: Planted claims delay bounded StrictSoftFileLock acquires

    受影响: pip:filelock < 4.3.0 → 4.3.0 If another local account can write to a StrictSoftFileLock claims directory, a crowded directory can delay nonblocking and timed acquisitions and increase the caller's memory use. The effect concerns availability of that shared lock. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. Acquisition now limits how many records it examines. A crowded directory can still cause a timeout or a SoftFileLockProtocolError; the claims inspection property still enumerates all p…

  • 中危06:39漏洞公告PythonGitHub Advisory Database

    filelock: Untrusted lock waits can stall release of private async locks

    受影响: pip:filelock < 4.3.0 → 4.3.0 Concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. Each soft reader/writer wrapper now has a worker of its own by default. If the application supplies a…

  • 低危06:38漏洞公告PythonGitHub Advisory Database

    filelock: Read-handle oplock stalls unrelated async tasks on Windows

    受影响: pip:filelock < 4.3.0 → 4.3.0 On Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. The acquisition loop now treats an oplock conflict as contention…

  • 中危06:37漏洞公告PythonGitHub Advisory Database

    filelock: ReadWriteLock can remove unrelated empty directories

    受影响: pip:filelock >= 4.2.1, <= 4.2.12 → 4.3.0 On POSIX, ReadWriteLock can remove empty directories from an unrelated directory owned by the locking account. This requires a shared parent without the sticky bit where another local account can rename directories. The confirmed impact is confined to empty directories. Affected versions and fix Versions 4.2.1 through 4.2.12 are affected. Upgrade to filelock 4.3.0 or later. Cleanup verifies that it removed a link to the lock database before removing directories. An interrupted acquisition can l…

12月4日周五

  • 高危12:39漏洞公告MySQL / MariaDBPythonJVN iPedia

    オラクルのMySQL Connector/Pythonにおける重要な機能に対する認証の欠如に関する脆弱性

    Oracle MySQLのMySQL Connectors製品(コンポーネント:Connector/Python)に脆弱性があります。影響を受けるサポート対象バージョンは26.7.0です。複数のプロトコルを経由したネットワークアクセスを持つ認証されていない攻撃者によって容易に悪用される脆弱性であり、MySQL Connectorsを侵害する可能性があります。この脆弱性を悪用した攻撃が成功すると、重要なデータに不正アクセスが行われるほか、アクセス可能なすべてのMySQL Connectorsのデータに完全にアクセスされる可能性があります。CVSS 3.1ベーススコアは7.5(機密性への影響)です。CVSSベクターは次の通りです:(CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)。

  • 08:59数据泄露WindowsTelegramPythonpiyolog

    LLMに攻撃方法を選ばせるRAT「Neural Override」についてまとめてみた

    2026年12月2日、Unit 42が、実行する攻撃をLLMに選ばせるWindows向けのリモートアクセス型マルウェア「Neural Override」の解析結果を公表しました。ここでは関連する情報をまとめます。 Neural Overrideとは何か Unit 42の解析によれば、Neural OverrideはPythonで書かれたWindows向けのRAT。Telegramのbotで操作され、運用者が不在でもLLMが攻撃を選び、RAT自身が実行する自律実行(autopilot)を備える(出典: 1)。また、解析した検体のコードから、ランサムウェア、DDoS、認証情報の窃取、持続化のコード…

  • 低危07:59漏洞公告OpenSSLPythonGitHub Advisory Database

    openssl-encrypt HSM diagnostics and debug logging expose hardware-derived data

    受影响: pip:openssl-encrypt < 1.4.8 → 1.4.8 The 'openssl-encrypt hsm fido2-test' and 'hsm onlykey-test' diagnostic commands unconditionally print the full derived hardware pepper as hex to the terminal (openssl_encrypt/modules/crypt_cli.py, handle_hsm_command). An earlier fix for this finding (H1 [HSM-1], 2026-07-07) landed in modules/hsm_cli.py, which is not wired into the CLI entry point, so the reachable code path kept printing the pepper. Impact is limited: the pepper is derived from a random per-invocation test salt, so the printed…

  • 中危07:52漏洞公告OpenSSLPythonGitHub Advisory Database

    openssl-encrypt sequential XOR cancels the last key-derivation stage

    受影响: pip:openssl_encrypt < 1.4.8 → 1.4.8 Files encrypted in sequential XOR composition mode (--xor / --use-xor-composition, on-disk format_version 8 or 10) derive a key in which the last stage cancels out. The weakness is only security-relevant for a specific, non-default configuration (see Exploitability below). In that case the key derivation collapses to a single cheap SHA256(password ‖ salt), completely bypassing the configured memory-hard KDF (e.g. Argon2) and allowing offline password guessing at plain-SHA256 speed. Exploitabili…

  • 02:24安全新闻PythonThe Hacker News

    8 Malicious PyPI Packages Use Python Dependencies as Keys to Unlock Hidden Malware

    An "active and evolving" campaign targeting the Python Package Index (PyPI) repository has been found to employ a novel technique dubbed DevGating that uses the victim's Python dependencies as a key to unlock the payload. The campaign, according to Island, has been active since September 25, 2026, and spans four waves and eight packages, with the attacker progressively iterating its evasion

12月3日周四

12月2日周三

  • 22:30安全新闻DjangoPythonThe Hacker News

    New Django4Shell Vulnerability Enables Django RCE via GeoDjango Form Validation

    The maintainers of Django have released versions 6.1.4, 6.0.11, and 5.2.20 to address seven security vulnerabilities, including a critical security flaw that could potentially enable remote code execution. The vulnerability, tracked as CVE-2026-124827 (CVSS score: 9.0), has been codenamed Django4shell by Mohamed K. Fathy, head of cybersecurity at Robusta Technology Group. It's an incomplete fix

  • 22:00版本发布DjangoPythonDjango Weblog有解读

    Django security releases issued: 6.1.4, 6.0.11, and 5.2.20

    In accordance with our security release policy , the Django team is issuing releases for Django 6.1.4 , Django 6.0.11 , and Django 5.2.20 . These releases address the security issues detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2026-124827: Server-side file-write via RasterField assignment Assigning a raster data definition to django.contrib.gis.db.models.RasterField with a user-controlled name parameter and a non-default driver could cause GDAL to write a file to an attacker-controlled location. Depending on the raster driver, this could enable remote…

  • USN-9399-1: Sentry SDK vulnerabilities

    It was discovered that the Django integration in the Sentry SDK did not remove the values of custom-named session cookies from the data it sent to Sentry. If the SDK was configured to send personally identifiable information, an attacker with access to the Sentry issues could possibly use this issue to obtain sensitive information and impersonate users. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-28117) It was discovered that the Sentry SDK passed all environment variables to subprocesses, even when an application requested an empty environment. An attacker could…

  • Malicious code in executor-engine (PyPI)

    受影响: pip:executor-engine = 0.3.4, pip:executor-engine = 0.3.5 Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08, malicious phantom releases of executor-engine were published to PyPI using stolen credentials. The package executes a bundled JavaScript payload (via the Bun runtime) on import that harvests and exfiltrates credentials and attempts self-propagation. This entry is a summary; behavior may not be fully characterized here. See the linked references for detailed analysis and indicators of compromise.

  • Malicious code in funcdesc (PyPI)

    受影响: pip:funcdesc = 0.2.2, pip:funcdesc = 0.2.3 Part of the "Hades" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08, malicious phantom releases of funcdesc were published to PyPI using stolen credentials. The package executes a bundled JavaScript payload (via the Bun runtime) on import that harvests and exfiltrates credentials and attempts self-propagation. This entry is a summary; behavior may not be fully characterized here. See the linked references for detailed analysis and indicators of compromise.

  • 高危04:08漏洞公告PythonGitHub Advisory Database

    python-semver: Super-quadratic ReDoS in _LAST_NUMBER via attacker-controlled version strings

    受影响: pip:semver <= 3.1.2 → 3.1.3 python-semver/python-semver is the Python Semantic Versioning library published on PyPI as semver. At src/semver/version.py:95 it defines: python _LAST_NUMBER = re.compile(r"(?:[^\d](\d+)[^\d])+") The pattern is used by bump_build() to find and increment the last numeric component of a version string's build metadata. Its outer repeated group (?:[^\d](\d+)[^\d])+ contains two unbounded [^\d] quantifiers plus \d+, and adjacent repetitions can consume the same run of non-digit characters. When th…