#pyyaml

Python PeakPythonPeak
2026-01-12

YAML Load Executes Arbitrary Code Compromising 470 Servers?!

YAML RCE APOCALYPSE! yaml.load() executes Python! Attacker uploads malicious config! Backdoor on all servers! 4.7M database exfiltrated! $47M breach! CISO ARRESTED!

youtube.com/watch?v=Lvvwf-SaDeE

Felix Moessbauerfmoessbauer
2025-06-17

Just stumbled upon some oddities in and the 1.1 spec when working on a bug report of . Asked an and argued with it. TL;DR: Always check the answers against the actual spec.

Discussion with an LLM about if the YAML 1.1 spec states that keys of mappings are always strings (which is just true on the parsing side, but not on the representation side).
Jezus Michał "Le Wzdych" (on)mgorny@pol.social
2025-05-28

Projekt #PyYAML odrzucił wsparcie dla Pythona bez GIL (#freethreading). Skutkiem tego, powstał fork skupiony na dodaniu tego wsparcia. Ze względu na ograniczone potrzeby forka, wspiera on tylko Pythona 3.13+. A że nie da się jeszcze wyrażać zależności warunkowo od wersji freethreading, inne paczki wymagają PyYAML-ft dla wersji Pythona >=3.13 (w tym zwyczajnej, z GIL-em) i zwykłego PyYAML dla <3.13.

Czy świat paczek Pythona nie jest super?

github.com/yaml/pyyaml/pull/83
github.com/Instagram/LibCST/bl

#Gentoo #Python

Jesus Michał "Le Sigh" 🏔 (he)mgorny@treehouse.systems
2025-05-28

#PyYAML rejected #freethreading support. As a result, a new fork has been created with freethreading support. Given the fork's focus on freethreading, it supports only Python 3.13+. Given the lack of environment markers for freethreading (yet), packages end up depending on PyYAML-ft for >=3.13 (including non-freethreading builds), and PyYAML for <3.13.

Isn't #Python #packaging great?

github.com/yaml/pyyaml/pull/83
github.com/Instagram/LibCST/bl

#Gentoo

2025-04-07

#PyYaml -> 🚮 slow, slower, slowest

Matthew Martinmistersql
2024-02-05

This library is depended on by a 867 packages ( , requests, hypothesis ), has a bogus CVE and is abandonware.

That's a bit under 1000 releases not counting the iceberg of closed source.

Who files these bogus CVEs, it is like setting $10,000 on fire, but in $100 piles all across the country.

pypi.org/project/py/

libraries.io/pypi/py

sumanthvepasumanthvepa
2023-10-27

@orsinium Interesting. I presume you mean this problem with . I hadn't considered . Will take a look at it. conhttps://stackoverflow.com/questions/76707475/issue-importing-pyyaml-cltk

2023-09-24

ℹ️ He actualitzat #PyXavi a la versió v0.3.3, sol.lucionant un problema de dependències amb #PyYaml, que van publicar la 6.0 que al seu torn està trencada i es sol.luciona amb la 6.0.1

La versió ja està publicada a #PyPI
pypi.org/project/pyxavi/

Coses de #Python :python:

2023-09-07

그냥 귀찮아서 잘 알아보지 않고 pyyaml을 설치했다. import yaml 잘 되네.

#yaml #pyyaml #python

Wow I thought I was not affected by the PyYAML uncapped Cython disaster github.com/yaml/pyyaml/issues/ but it turns out I can't install `docker-compose`.

I often refer to @henryiii blog post on the matter iscinumpy.dev/post/bound-versi but I think in this case it was a big mistake not to cap Cython. In the end, build dependencies are throwaway dependencies, they are used in a temporary, isolated environment and then never used again.

#python #pyyaml #cython

2023-07-27

@mgorny
Did I see correctly that maintainer claims 5.4 release "long gone" and at the same time gates the fix on *Windows Python 2.x*?

#pyyaml #cython #python

Jezus Michał "Le Wzdych" (on)mgorny@pol.social
2023-07-27

Miałem pisać o fajnych rzeczach, a zamiast tego ciągniemy temat #PyYAML. Autorzy wciąż odrzucają poprawki zgodności z #Cython 3. Jest już dosyć jasne, że dystrybucje będą musiały męczyć się z własnymi łatkami jeszcze przez długi czas. Wzdych.

github.com/yaml/pyyaml/pull/73

#Python

Jesus Michał "Le Sigh" 🏔 (he)mgorny@treehouse.systems
2023-07-27

I wanted to write about something fun but instead we continue that sad topic of #PyYAML that keeps refusing to fix #Cython 3 compatibility properly. At this point, it sounds pretty likely that most of the distributions will have to carry custom patches for the foreseeable future. Sigh.

github.com/yaml/pyyaml/pull/73

#Python

Jesus Michał "Le Sigh" 🏔 (he)mgorny@treehouse.systems
2023-07-18

The #PyYAML problem is only getting better. People are trying really hard to make their things work again. Apparently there's a way to force constraints on pip but it's not a perfect solution either.

I have two thoughts about this:

1. *Finally*, it's not just us in #Gentoo being hit by constraint conflicts (i.e. two packages in depgraph requiring different #Cython versions).

2. Given that PyYAML knew about the problem for a year and a half and did nothing to avoid it… do you think it's a good idea to continue using that package? Or #YAML in particular, Norway?

discuss.python.org/t/no-way-to

#Python

Jezus Michał "Le Wzdych" (on)mgorny@pol.social
2023-07-18

Sytuacja z #PyYAML-em jest rozwojowa. Wiara coraz bardziej stara się niezależnie naprawiać swoje zabawki. Najwyraźniej pip pozwala na odgórne ograniczenie akceptowalnych wersji pakietów, ale to również nie rozwiązuje problemu w pełni.

Mam dwie myśli:

1. *W końcu* nie tylko my w #Gentoo mamy problem sprzecznych oczekiwań różnych paczek (czyt. nie tylko nam się wszystko sypie, bo potrzeba dwóch różnych wersji Cythona jednocześnie).

2. Biorąc pod uwagę, że problem znany był półtora roku, i autorzy PyYAML-a nie zrobili nic, żeby go rozwiązać… czy naprawdę sądzicie, że dalsze używanie tej paczki to dobry pomysł? Albo szerzej mówiąc, czy użycie YAML-a to dobry pomysł, Norway?

discuss.python.org/t/no-way-to

#Python #Cython

Jesus Michał "Le Sigh" 🏔 (he)mgorny@treehouse.systems
2023-07-17

Remember how #PyYAML ignored #Cython 3 compatibility problems for a year and a half? Well, Cython 3 got released today and now the related bug exploded when tons of pipelines suddenly started failing.

github.com/yaml/pyyaml/issues/

#Python

Jezus Michał "Le Wzdych" (on)mgorny@pol.social
2023-07-17

A pamiętacie jak #PyYAML ignorował problem zgodności z Cythonem 3 przez półtora roku? No więc, #Cython 3 wyszedł dzisiaj i zgłoszenie błędu eksplodowało, kiedy pierdyliard potoków zaczęło się sypać.

github.com/yaml/pyyaml/issues/

#Python

heise online (inoffiziell)heiseonline@squeet.me
2020-12-08
IBM hat unter anderem für IBM Db2 und Spectrum Protect wichtige Sicherheitsupdates veröffentlicht.
Kritische Lücke im Python-Framework PyYAML bedroht IBM Spectrum Protect
2019-05-22

PyYAMLがyaml.loadでYAMLLoadWarningを出してくるようになった件 by TakamiChie qiita.com/TakamiChie/items/fbd #Qiita #Python #Python3 #PyYAML @

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst