Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2017-7308获取相应版本内核失败 #137

Open
peiwithhao opened this issue Dec 30, 2024 · 0 comments
Open

CVE-2017-7308获取相应版本内核失败 #137

peiwithhao opened this issue Dec 30, 2024 · 0 comments

Comments

@peiwithhao
Copy link

在使用指定命令获取cve环境时出现kernel package list not found
内核版本: 5.7.5-generic
发行版:ubuntu 20.04LTS
python: 3.8.10

可以看到即使使用了root权限运行仍然会失败

root@peiwithhao-Standard-PC-Q35-ICH9-2009:/home/peiwithhao/metarget# ./metarget cnv install cve-2017-7308 --verbose
cve-2017-7308 is going to be installed
switching kernel by version
adding apt repository deb http://security.ubuntu.com/ubuntu trusty-security main
Hit:1 https://mirrors.aliyun.com/ubuntu focal InRelease
Hit:2 https://mirrors.aliyun.com/ubuntu focal-security InRelease
Hit:3 https://mirrors.aliyun.com/ubuntu focal-updates InRelease
Hit:4 https://mirrors.aliyun.com/ubuntu focal-backports InRelease
Hit:5 http://sg.archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://sg.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://sg.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:8 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:9 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:11 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
adding apt repository deb http://security.ubuntu.com/ubuntu xenial-security main
Hit:1 https://mirrors.aliyun.com/ubuntu focal InRelease
Hit:2 https://mirrors.aliyun.com/ubuntu focal-security InRelease
Hit:3 https://mirrors.aliyun.com/ubuntu focal-updates InRelease
Hit:4 https://mirrors.aliyun.com/ubuntu focal-backports InRelease
Hit:5 http://sg.archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://sg.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://sg.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:8 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:9 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:11 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
adding apt repository deb http://security.ubuntu.com/ubuntu bionic-security main
Hit:1 https://mirrors.aliyun.com/ubuntu focal InRelease
Hit:2 https://mirrors.aliyun.com/ubuntu focal-security InRelease
Hit:3 https://mirrors.aliyun.com/ubuntu focal-updates InRelease
Hit:4 https://mirrors.aliyun.com/ubuntu focal-backports InRelease
Hit:5 http://sg.archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://sg.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://sg.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:8 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:9 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:11 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
warning: no apt package for kernel 4.8.0-34
switching kernel version with downloading packages
retrieving package list for kernel 4.8.0-34
error: kernel package list not found
error: failed to install cve-2017-7308

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant