1.修复的CVE
CVE-2021-44420
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。Django 存在授权问题漏洞,该漏洞源于带有尾随换行符的URL的HTTP请求可以绕过基于URL路径的上游访问控制。以下产品及版本受到影响:Django 2.2 before 2.2.25, 3.1 before 3.1.14, and 3.2 before 3.2.10。
银河麒麟桌面操作系统V10 SP1
软件包:python-django
2:2.2.12-1kylin0.8(V10 SP1)
·银河麒麟桌面操作系统V10 SP1
python-django-doc
python3-django
打开软件包源配置文件,根据仓库地址进行修改。
4.0.2桌面版本:
http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2-desktop main restricted universe multiverse
4.0.2-sp1桌面版本:
http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp1-desktop main restricted universe multiverse
4.0.2-sp2桌面版本:
http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp2-desktop main restricted universe multiverse
4.0.2-sp3桌面版本:
http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp3-desktop main restricted universe multiverse
4.0.2-sp4桌面版本:
http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp4-desktop main restricted universe multiverse
10.0版本:
http://archive.kylinos.cn/kylin/KYLIN-ALL 10.0 main restricted universe multiverse
10SP1版本:
http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
配置完成后执行更新命令进行升级
$sudo apt update
通过软件包地址下载软件包,使用软件包升级命令根据受影响的组件包列表 升级相关的组件包。
$dpkg -i Packagelists
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/python-django/python-django-doc_2.2.12-1kylin0.8_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/python-django/python3-django_2.2.12-1kylin0.8_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/python-django/python-django-doc_2.2.12-1kylin0.8_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/python-django/python3-django_2.2.12-1kylin0.8_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/python-django/python-django-doc_2.2.12-1kylin0.8_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/python-django/python3-django_2.2.12-1kylin0.8_all.deb