/srv/irclogs.ubuntu.com/2023/10/17/#ubuntu-security.txt

jslarrazHey sdeziel, regarding iperf3 updates, they include fixes for different vulnerabilities as you can see from the USNs. The reasoning here is that iperf3 is a universe package and as such, security fixes are devoted to Ubuntu Pro (-esm). However, as fix for CVE-2023-38403 was already provided by Debian, we wanted to make it also available to all07:44
jslarrazUbuntu users. In summary, the update in `-security` includes the fix for CVE-2023-38403, while the update in `-esm` include the fix for both CVE-2023-38403 and the issue published by upstream in their advisory https://downloads.es.net/pub/iperf/esnet-secadv-2023-0002.txt.asc07:44
-ubottu:#ubuntu-security- iperf3 before 3.14 allows peers to cause an integer overflow and heap corruption via a crafted length field. <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38403>07:44
sdezieljslarraz: OK thank you, I didn't notice there were another fixes (without CVEs) being bundled in the `-esm` version12:49
=== chris14_ is now known as chris14
ahasenackhi security, apparmor question18:22
ahasenackI have "abi <abi/3.0>," in the first line of a "modern" apparmor profile18:22
ahasenackbut bionic doesn´t  like that18:22
ahasenackFound unexpected character: '<'18:22
ahasenackis there a way to make it "compatible" with bionic, so I could use the same profile in all releases? Or I really have to remove it when building the package for bionic?18:22
ahasenackremove the line, I mean18:22
georgiagahasenack: afaik you need to remove the abi line for bionic. jjohansen, can you confirm if there's any workaround?19:31
jjohansenahasenack: to make it compatible we would need to cherry pick a patch back to bionic and do an SRU19:47
jjohansenits possible. All the patch does is ignore the ABI line so the profile can be parsed19:48
ahasenackjjohansen: and I can just remove the abi declaration for bionic, right? No need to add anything else?19:48
ahasenackto replace it?19:48
jjohansenahasenack: yeah, I can just drop the ABI line19:49
jjohansenor stick a comment in front of it19:49
jjohansen#19:49
ahasenackwill the comment make it be ignored where the abi statement actually means something?19:51
ahasenackor is it like include vs #include19:51
ahasenack(where both actually include something)19:51
jjohansenit will be ignored19:54
ahasenackok, so where abi makes sense, I should keep it19:54
ahasenacktl;dr really use two different profile files19:54
jjohansenwe did think about supporting #abi like include but decided against it19:55
ahasenackagreed19:55
jjohansenwell it seemed like a good idea at the time with only 5 year support time frames20:08
jjohansenand we had planned ahead far enough to drop the ignore abi parsing into 2.1320:09
jjohansenbut now?20:09
ahasenackI meant the concept of using # for comments, except if they start with "include" :)20:10
ahasenackdon't extend that to other exceptions like "abi" :)20:10
jjohansenyeah, its janky20:10
jjohansenno, where we are going is better conditionals and the ability to add some dummy parsing in policy20:12
jjohansenif !parser_supports(XXXX) {20:12
jjohansen   ignore rule=^.*,$20:12
jjohansen}20:12
jjohansenso that we can add some basic parsing to the base includes on how to ignore rule changes20:13
jjohansenit will start simple, but we need it, so we can keep policy unified20:14
jjohansenI would SRU that if I could, but the changes necessary to make the conditionals work, is too much20:14
jjohansenwell maybe20:15
jjohansenwe need to do something with these longer support windows20:15
jjohansenits something we will have to look at when it lands20:15
ahasenackthese conditionals look like a big change20:18
jjohansenwell, conditionals are actually already supported, but they are uhmm limited20:18
jjohansenso the base20:19
jjohansenif ... { }20:19
ahasenackin bionic?20:19
jjohansenis already in bionic20:19
ahasenackI still have to try to load this profile I'm working on on xenial20:20
ahasenackcurrently having problems launching a xenial vm20:20
jjohansenactually they are in lucid20:20
ahasenackfound something funny in bionic's python3.6 because of this profile. It was denying /sbin/ldconfig when uuid was imported20:21
ahasenackand I was like huh?20:21
ahasenackso yeah, in bionic, python3 -c "import uuid" triggers ldconfig :)20:21
ahasenackwould love a "if bionic" conditional :)20:22
jjohansenit exists, you can use it in the rules blocks of profiles but not with variables20:25
jjohansenif $var {20:25
jjohansen}20:25
jjohansen$var is a boolean var you define it in the preamble section like other variables20:25
jjohansen$var=false20:25
jjohansen$var=true20:25
ahasenackhm20:26
ahasenackso one way would be to generate this profile dynamically in postinst perhaps, detecting where I am, and setting var accordingly20:26
ahasenackis what you mean?20:26
ahasenackI don't suppose that var can be set dynamically based on conditions in the environment20:27
jjohansenthe conditionals are capable of a bit more, but atm they can't be used in the preamble section, so not with the abi rule, around var definitions, ...20:27
ahasenackdo I *need* the abi rule in later apparmor? Like focal+ all the way up to NN?20:28
jjohansenso unfortunately it won't work for abi rules, but you can use it for other rules20:28
jjohansenno its value can't be dynamic based on environment, what the parser supports, or what the kernel supports20:28
jjohansenwe want to fix all that20:28
jjohansenyes, you will need the abi rule in future apparmor20:29
ahasenackok20:29
jjohansenit is what declares the set of features the profile was built around, so adding new features in the kernel doesn't break applications with policy that hasn't been updated yet20:30

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