此内容提供了一个针对 CVE-2025-48384 的 PoC Dockerfile 镜像,关联到 https://github.com/vinieger/CVE-2025-48384,可在 Kubernetes 集群内进行测试。
构建并发布到 GCP 仓库:
修改
your registry path
IMAGE="<your registry path>/alpine-cve-2025-48384:latest"
# Build and push
docker build -t $IMAGE .
docker push $IMAGE
# Check it's there
gcloud artifacts docker images list <your registry path>
保存 alpine-cve-2025-48384-deployment.yaml
修改
your registry path
apiVersion: apps/v1
kind: Deployment
metadata:
name: alpine-cve-2025-48384
spec:
replicas: 1
selector:
matchLabels:
app: alpine-cve-2025-48384
template:
metadata:
labels:
app: alpine-cve-2025-48384
spec:
containers:
- name: alpine-cve-2025-48384
image: <your registry path>/alpine-cve-2025-48384:latest
部署到 GKE:
kubectl apply -f alpine-cve-2025-48384-deployment.yaml