Skip to content

Commit

Permalink
spec: do not set inheritable capabilities
Browse files Browse the repository at this point in the history
Closes: CVE-2022-27650

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Mar 23, 2022
1 parent 03fccbb commit b847d14
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libcrun/container.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ static const char spec_file[] = "\
\"CAP_NET_BIND_SERVICE\"\n\
],\n\
\"inheritable\": [\n\
\"CAP_AUDIT_WRITE\",\n\
\"CAP_KILL\",\n\
\"CAP_NET_BIND_SERVICE\"\n\
],\n\
\"permitted\": [\n\
\"CAP_AUDIT_WRITE\",\n\
Expand Down

0 comments on commit b847d14

Please sign in to comment.