Tag

Python

All articles tagged with #python

Gunicorn 27.0.0 Patch Fixes Unauthenticated ASGI Memory Exhaustion Flaw
cybersecurity1 day ago

Gunicorn 27.0.0 Patch Fixes Unauthenticated ASGI Memory Exhaustion Flaw

Gunicorn versions 25.2.0 through 26.9.9 contain a high-severity vulnerability that allows unauthenticated attackers to exhaust server memory and CPU resources. The flaw exists in the pure-Python ASGI HTTP/1 parser, which buffers protocol lines without enforcing size limits. By sending request lines, headers, or trailers lacking proper CRLF terminators, attackers can trigger a denial of service. Version 27.0.0 resolves the issue.

Gunicorn 27.0.0 Patch Fixes HTTP Request Smuggling in ASGI Parser
cybersecurity1 day ago

Gunicorn 27.0.0 Patch Fixes HTTP Request Smuggling in ASGI Parser

Gunicorn versions 25.2.0 through 26.9.9 contain a medium-severity HTTP request smuggling vulnerability in its pure-Python ASGI parser. The flaw allows unauthenticated attackers to desynchronize request framing by sending malformed headers, such as whitespace-padded Transfer-Encoding or invalid chunk terminators, to bypass front-end proxies. Version 27.0.0, released on November 22, 2026, resolves the issue. The vulnerability is rated 4.8 on CVSS 3.1 and 6.3 on CVSS 4.0, with high attack complexity but no required privileges.

Unauthenticated DoS Flaw in graphql-core Fixed in 3.2.14 and 3.3.2
cybersecurity1 day ago

Unauthenticated DoS Flaw in graphql-core Fixed in 3.2.14 and 3.3.2

A medium-severity denial-of-service vulnerability, CVE-2026-134795, has been identified in the graphql-core Python library. Unauthenticated attackers can bypass the parser's max_tokens limit by submitting GraphQL documents consisting of long comment runs. This causes the lexer to fully tokenize the input before limit checks are applied, consuming CPU and memory proportional to the document size. Patches are available in versions 3.2.14 and 3.3.2.

Brotli Decoder Flaw CVE-2026-111497 Triggers Critical Patches Across Microsoft, Node.js, and Python
security28 days ago

Brotli Decoder Flaw CVE-2026-111497 Triggers Critical Patches Across Microsoft, Node.js, and Python

A critical out-of-bounds write vulnerability in Google’s Brotli compression library, identified as CVE-2026-111497, has prompted emergency security updates from Microsoft, Node.js, and Python maintainers. Dubbed 'Node2Shell' or 'Broccoli2Shell,' the flaw allows unauthenticated attackers to execute arbitrary code or leak memory by sending crafted compressed data to affected decoders. While no active exploitation has been reported in the wild, Imperva demonstrated successful remote code execution on official Node.js images. Microsoft, Node.js, and Python have released patches, with Microsoft rating the issue as 'Exploitation More Likely.' Organizations are advised to update affected runtimes, rebuild container images, and restart services to mitigate the risk.

Porcupine Punctures Python: A Deadly Dinner in South Africa
science5 months ago

Porcupine Punctures Python: A Deadly Dinner in South Africa

A 12-foot African rock python at Lake Eland Game Reserve in South Africa died about a week after swallowing a 30-pound porcupine, whose sharp quills punctured the snake’s digestive tract. The 2015 incident shows porcupines can be a dangerous prey for snakes, which can swallow large meals but may be fatally injured by quills; prior studies have documented similar injuries, and newer research discusses how snakes digest bones under certain conditions.

Stealthy Python RAT Uses Hidden C2 Tunnel to Harvest Browser and Cloud Credentials
technology6 months ago

Stealthy Python RAT Uses Hidden C2 Tunnel to Harvest Browser and Cloud Credentials

Security researchers uncovered DEEP#DOOR, a Python-based backdoor that embeds its payload in a dropper and gains persistence via Startup scripts, Run keys, Scheduled Tasks, and optional WMI subscriptions. It uses a Rust-based tunneling service (bore.pub) for C2 and offers full RAT capabilities—reverse shell, reconnaissance, keylogging, screen/audio capture, webcam access, and credential theft from browsers, cloud services, and Windows Credential Manager—while employing anti-analysis and defense-evasion techniques. Distribution appears phishing-based and targeted, with a modular, fileless design; it could be repurposed by different actors.

Python Metabolite Sparks GLP-1–Free Weight Loss Hint
health8 months ago

Python Metabolite Sparks GLP-1–Free Weight Loss Hint

Scientists from CU Boulder and Stanford identified a python-derived gut metabolite, para‑tyramine‑O‑sulfate (pTOS), that after being tested in mice triggered weight loss through hypothalamic pathways without muscle or energy loss, suggesting a potential natural alternative to GLP‑1 weight‑loss drugs and prompting Arkana Therapeutics to pursue a synthetic version.

From zero to Moltbot: building an AI agent on Moltbook with ChatGPT
technology9 months ago

From zero to Moltbot: building an AI agent on Moltbook with ChatGPT

A first‑person guide on using ChatGPT to code and deploy a Moltbot for Moltbook. The author prompts ChatGPT to outline steps, then installs Python, creates a virtual environment, and adds libraries (requests and python-dotenv). They register the agent via Moltbook’s API, obtain an API key, claim URL, and a verification tweet, save the key in a .env file, and write Python code to check status, post updates, and fetch feeds. The piece emphasizes AI-assisted learning, clear ownership of the bot, and how such tooling lowers the barrier for non‑developers to build and verify AI agents.

technology1 year ago

Python Developers Increasingly Adopt Type Hints

The article discusses the mixed opinions among Python developers regarding type hints, highlighting their benefits for safety and documentation in large codebases, while also criticizing their complexity and the way they can clutter high-usage code. It compares Python's optional type hints to the evolution of TypeScript and other languages, emphasizing that while they are useful, they are not a core part of Python's philosophy, and their implementation can sometimes lead to messiness and complexity. Overall, the article reflects on the ongoing debate about static versus dynamic typing in programming languages.

technology1 year ago

Why Python's Async Features Haven't Achieved Widespread Popularity

The article discusses the limited popularity of Python's async features despite being available for over a decade, attributing it to the maturity of alternative solutions like green threads, the complexity and bugs associated with async/await, and the preference for more explicit concurrency models in other languages like Go and Erlang. It highlights the challenges and subjective opinions around async programming, comparing it to green threads and other models, and emphasizes that while async has its uses, it is often seen as complex and less natural compared to traditional threading or green thread approaches.