/srv/irclogs.ubuntu.com/2025/03/12/#ubuntu-security.txt

kiboneumorn02:21
amurrayhey kiboneu 06:00
LocutusOfBorghello guys, the latest jinja2 CVE regressed the python2 https://bugs.launchpad.net/ubuntu/+source/jinja2/+bug/210212914:49
LocutusOfBorgcan anybody please revert or try to fix?14:49
ebarrettoLocutusOfBorg: I will forward it internally 14:52
LocutusOfBorgwe can workaround if testing is needed, let me know14:53
LocutusOfBorgI have some ideas to change getattr_static into getattr for python214:53
ebarrettoLocutusOfBorg: just missed one information there, in which release you saw the issue? And if you tested in more than one, I imagine all will fail the same given python214:56
ebarrettoand thanks for the report btw :) 14:57
mdeslaurLocutusOfBorg: I hope you don't mind, I made the bug public so others can find it15:32
tewardremind me to go yell at IS15:47
tewardbecause the CVE tracker is 500ing again15:47
tewardmdeslaur: ebarretto: is the CVE tracker data still on bzr or did you finally move it to git?15:48
* teward is tempted to just pull down a copy and grep the old fashioned way15:48
ebarrettoteward: it is on git 15:48
tewardi still only have the ancient bzr, do you have the updated git URL?15:49
ebarrettohttps://git.launchpad.net/~ubuntu-security/ubuntu-cve-tracker15:49
tewardthank you kindly15:50
teward(that's a lot of objects, >1GiB in size)15:51
tewardebarretto: to answer your question about 'release' LoB is reerring to 2.10.1 which I believe is only in focal right now at the very least, so you can probably mark for LoB's info that it's at least in focal15:54
teward(one thing i like about the git data is i can see allllll the CVEs xD)15:54
tewardebarretto: i can spin some containers to test the other distros, except I don't have enough esm-infra licensing for containers if you'd like me to do some things for LoB's reported jinja2 regression15:55
tewardebarretto: confirmed Focal is all I can test, every version of src:jinja2 in jammy and later are all Python 3 flavored.16:08
teward(updated LoB's bug with what I could test)16:11
ebarrettothanks teward 16:29
ebarrettofrom what we can see trusty and xenial got a correct fix, only bionic and later are affected16:29
ebarrettoJohn will be uploading a new version soon 16:29
ebarrettothis is also John's first regression, so we are celebrating his achievement :) 16:30
tewardLocutusOfBorg: ^^ for status updates16:30
tewardebarretto: tell John "good job, you broke it, time to fix it." xD16:30
ebarrettoahahah message forwarded 16:32
ebarrettoand thank again for all the reports and tests and sorry for the inconvenience 16:32
tewardnot an inconvenience :P17:36
LocutusOfBorgteward, yes because after focal the python2 was deprecated...17:40
tewardLocutusOfBorg: yep, but i'm just doing followup and "due diligence" in testing - and you were asked to verify affected suites and didn't reply so I did some testing ;)17:40
LocutusOfBorgthanks for fixing!17:40
tewardthat way ebaretto, etc. don't go unanswered.17:40
LocutusOfBorgI can test right now17:41
LocutusOfBorgI was afk17:41
LocutusOfBorgyou know, the aws world was blown today due to this security update, once I got a fix I had to speak with many people17:41
LocutusOfBorglet me know if you have any fix and I'll happily test t17:42
tewardLocutusOfBorg: i think that's on John, according to ebaretto, Trusty and Xenial got the correct fix, only Bionic an later are affected, except for those which went to Py317:46
tewardso unless you have spare Pro licenses to devote to test machines for Bionic and Focal... :P17:47
teward(I just don't have spare Pro licenses right now for ESM)17:47
LocutusOfBorgoh no I only have focal machine17:51
ebarrettofocal is already building in the ppa: https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+packages?field.name_filter=jinja&field.status_filter=published&field.series_filter=  just pending publishing there. If you could both test it 17:51
ebarrettowe appreaciate it 17:51
LocutusOfBorgbut if you throw me a deb...17:51
LocutusOfBorgtested successfully!17:55
LocutusOfBorgbtw it would be nice to know if we could have had some autopkgtest to trigger such a regression and not release on security pocket17:58
tewardebarretto: i didn't install jinja, but i executed the same steps that triggered the alert in a Python2 environment, which was that import line18:01
tewardwhich is how it traces down to a Python2 issue18:01
tewardLoB would be in better place to actually *test* jinja2 itself than I would :)18:02
tewardI am also currently At War (TM) with StackOverflow for banning my static IP range from their services for no apparent reason, so i'm a little preoccupied.18:02
ebarrettoLocutusOfBorg: we do have autopkgtest for security-proposed, and from what I see nothing failed. Probably most of the packages are using py3 and perhaps that was why it didn't show up to us. Nevertheless John will add some testing for it in our test suite for us to not miss it again 18:04
LocutusOfBorgthanks, this is really appreciated18:05
LocutusOfBorgand on my side I'll try to make sure that we use the yocto provided python2 package, and not the Ubuntu one. The main goal of yocto is to build everything from scratch to not have divergences due to server/versions of tools, but our supplier didn't know that :D18:05
LocutusOfBorgteward, the fix looks good to me18:06
tewardebarretto: ^^18:06
ebarrettothanks both! we are just waiting launchpad to finish doing its thing18:07
john-bretoni also just wanted to come in and thank you both for your prompt testing and involvement, and to thank ebarretto for letting me know about the issue in the first place. As mentioned I will be adding in some tests to try to ensure this doesn't happen again 18:41
tewardjohn-breton: no worries, i needed access to the CVE tracker data anyways to check a CVE, fortunately I know that it's on git somewhere for when the website is glitchy so i was coming in here anyways18:43
tewardwas happy to loan a bit of testing ;)18:43
teward*returns to his ongoing feud with StackOverflow**18:44
=== john-breton_ is now known as john-breton

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!