False positive from Inspector2

1

Hello,

Inspector2 is reporting that a freshly-built EC2 instance is vulnerable to CVE-2021-44731 (affecting snap v2.54.2), but our installed version is 2.54.3:

$ snap --version
snap    2.54.3+18.04.2ubuntu0.1
snapd   2.54.3+18.04.2ubuntu0.1
series  16
ubuntu  18.04
kernel  5.4.0-1066-aws

I haven't found any other versions of snap on the instance. Any idea what would cause this?

Thanks in advance, Eugene

2개 답변
1

We are on the Basic Support Plan, unfortunately. I spent a couple hours looking into this today, and still believe Inspector2 is misreporting. Here's an excerpt from the finding:

    ...
    "vulnerabilityId": "CVE-2021-44731",
    "vulnerablePackages": [
      {
        "arch": "ALL",
        "epoch": 0,
        "name": "snapd",
        "packageManager": "OS",
        "version": "2.54.3"
      }
    ],
    ...

And from CVE-2021-44731:

Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1

I'd rather not suppress this finding. Does anyone have any other suggestions?

eugene
답변함 2년 전
  • We are having the same problem. For us, it looks like systems manager inventory is retaining the old version of snapd even though it isn't on the system and not returned by dpkg-query

0

Please create a support case providing details for the AWS support team to investigate and provide guidance on this.

Thanks.

AWS
답변함 2년 전
profile pictureAWS
전문가
검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠