EGI SVG Advisories


         - Version of golang used by Singularity 
Date:    2021-12-17

Affected software and risk

MODERATE risk vulnerability concerning golang used by Singularity

Package : golang version used in Singularity
CVE ID  : CVE-2021-44717 (in golang)

Note that this advisory is based on the OSG notification 

A security vulnerability in golang has been announced that can potentially 
lead to a vulnerability in singularity.  The OSG security team considers 
the risk of this vulnerability to be MODERATE in relation to Singularity.

Actions required/recommended

Sites running Singularity are recommended to upgrade to a version of 
singularity compiled with the newer golang.  For those using the EPEL rpms, 
upgrade to version 3.8.5-2 which is currently in epel-testing and should 
be promoted to epel by the end of next week.

Affected software details

Any version of singularity compiled using golang 1.16.11 or older or using 
1.17 through 1.17.4 is impacted. This includes EPEL singularity 
rpms 3.8.5-1 or earlier.

More Information

Prior to golang 1.16.12 and 1.17.5, the syscall.ForkExec function had a flaw 
that can result in output for one file descriptor to be redirected to another 
under conditions of running out of file descriptors [R 1].  Singularity uses 
that library call, so it is potentially affected [R 2]. There is no specific 
known exploit at this time, but especially for setuid-root installations it 
is better to ensure that a newly compiled version is installed.

** WHITE information -Unlimited distribution
 - see for
   distribution restrictions **

Minor updates may be made without re-distribution to the sites


Comments or questions should be sent to svg-rat  at
If you find or become aware of another vulnerability which is relevant to EGI
you may report it by e-mail to
report-vulnerability at

the EGI Software Vulnerability Group will take a look according to the
procedure defined in [R 99]


[R 1]

[R 2]

[R 99]


SVG was alerted to this vulnerability by Dave Dykstra 

Yyyy-mm-dd  [EGI-SVG-2021-CVE-2021-44717] 

2021-12-16 SVG alerted to this issue by Dave Dykstra
2021-12-16 Acknowledgement from the EGI SVG to the reporter
2021-12-16 OSG sends notification to security contacts
2021-12-17 EGI sends advisory based on OSG notification 

This advisory has been prepared as part of the effort to fulfil EGI SVG's
purpose "To minimize the risk to the EGI infrastructure arising from software
The risk is that assessed by the group, according to the EGI SVG issue handling
procedure [R 99] in the context of how the software is used in the EGI
infrastructure. It is the opinion of the group, we do not guarantee it to be
correct. The risk may also be higher or lower in other deployments depending on
how the software is used.
Others may re-use this information provided they:-
1) Respect the provided TLP classification
2) Credit the EGI Software Vulnerability Group

On behalf of the EGI SVG,