CVE-2021-3998 
                        Detail
                     
                    
                    
                        
                            
                                
                                    Modified This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
                                 
                             
                            Description  
                            
                            A flaw was found in glibc. The realpath() function can mistakenly return an unexpected value, potentially leading to information leakage and disclosure of sensitive data.
                            
                            
                            
                            
                                Metrics 
                                 
                                
                                    CVSS Version 4.0
                                     
                                    CVSS Version 3.x
                                     
                                    CVSS Version 2.0
                                     
                                
                                
                                    
                                        
                                            NVD enrichment efforts reference publicly available information to associate
                                            vector strings. CVSS information contributed by other sources is also
                                            displayed.
                                         
                                     
                                
                                
                                
                                    CVSS 4.0 Severity and Vector Strings: 
                                    
                                    
                                        
                                        
                                        
                                        
                                       
                                             NVD assessment
                                       not yet provided.   
                                     
                                    
                                    
                                    
                                    
                                 
                                
                                
                                    CVSS 3.x Severity and Vector Strings: 
                                    
                                    
                                        
                                        
                                        
                                        
												Vector:  
													CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 
                                     
                                    
                                    
                                    
                                    
                                        
                                            
                                            
                                            
                                            
												Vector:   CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 
                                         
                                     
                                    
                                    
                                    
                                    
                                 
                                
                                
                                    CVSS 2.0 Severity and Vector Strings:   
                                    
                                    
                                        
                                        
                                        
												 NVD assessment
														not yet provided. 
                                     
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                 
                             
                            
                                
                                
                                
                                
                                    References to Advisories, Solutions, and Tools 
                                    
                                        By selecting these links, you will be leaving NIST webspace.
                                        We have provided these links to other web sites because they
                                        may have information that would be of interest to you. No
                                        inferences should be drawn on account of other sites being
                                        referenced, or not, from this page. There may be other web
                                        sites that are more appropriate for your purpose. NIST does
                                        not necessarily endorse the views expressed, or concur with
                                        the facts presented on these sites. Further, NIST does not
                                        endorse any commercial products that may be mentioned on
                                        these sites. Please address comments about this page to [email protected] 
                                    
                                        
                                        
                                            URL 
                                            Source(s) 
                                            Tag(s) 
                                         
                                         
                                        
                                        
                                            
                                            
                                                https://access.redhat.com/security/cve/CVE-2021-3998 
                                             
                                            
                                            CVE, Inc., Red Hat 
                                            
                                            
                                                
                                                    Third Party Advisory  
                                                 
                                             
                                         
                                        
                                            
                                            
                                                https://bugzilla.redhat.com/show_bug.cgi?id=2024633 
                                             
                                            
                                            CVE, Inc., Red Hat 
                                            
                                            
                                                
                                                    Issue Tracking  
                                                 
                                                    Patch  
                                                 
                                                    Third Party Advisory  
                                                 
                                             
                                         
                                        
                                            
                                            
                                                https://security-tracker.debian.org/tracker/CVE-2021-3998 
                                             
                                            
                                            CVE, Inc., Red Hat 
                                            
                                            
                                                
                                                    Third Party Advisory  
                                                 
                                             
                                         
                                        
                                            
                                            
                                                https://security.netapp.com/advisory/ntap-20221020-0003/ 
                                             
                                            
                                            CVE, Inc., Red Hat 
                                            
                                            
                                                
                                                    Third Party Advisory  
                                                 
                                             
                                         
                                        
                                            
                                            
                                                https://sourceware.org/bugzilla/show_bug.cgi?id=28770 
                                             
                                            
                                            CVE, Inc., Red Hat 
                                            
                                            
                                                
                                                    Issue Tracking  
                                                 
                                                    Patch  
                                                 
                                                    Third Party Advisory  
                                                 
                                             
                                         
                                        
                                            
                                            
                                                https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=84d2d0fe20bdf94feed82b21b4d7d136db471f03 
                                             
                                            
                                            CVE, Inc., Red Hat 
                                            
                                            
                                                
                                             
                                         
                                        
                                            
                                            
                                                https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=ee8d5e33adb284601c00c94687bc907e10aec9bb 
                                             
                                            
                                            CVE, Inc., Red Hat 
                                            
                                            
                                                
                                             
                                         
                                        
                                            
                                            
                                                https://www.openwall.com/lists/oss-security/2022/01/24/4 
                                             
                                            
                                            CVE, Inc., Red Hat 
                                            
                                            
                                                
                                                    Mailing List  
                                                 
                                                    Patch  
                                                 
                                                    Third Party Advisory  
                                                 
                                             
                                         
                                         
                                    
                                 
                                
                                
                                    Weakness Enumeration 
                                    
                                        
                                        
                                            CWE-ID 
                                            CWE Name 
                                            Source 
                                         
                                         
                                        
                                        
                                            
                                                CWE-252 
                                                
                                             
                                            Unchecked Return Value 
                                            
														
														NIST   
														 
                                             
                                         
                                        
                                            
                                                CWE-125 
                                                
                                             
                                            Out-of-bounds Read 
                                            
														
														
														
															
															
															
														
														Red Hat, Inc.   
														 
                                             
                                         
                                         
                                    
                                 
                                
                                
                                    Change History 
                                     8 change records found show changes 
                                     
                                    
	
		
			 
			
				CVE Modified by CISA-ADP  6/09/2025 11:15:26 AM  
			
				 
					
						Action 
						Type 
						Old Value 
						New Value 
					 
				 
				
					
						Added 
						CVSS V3.1 
						
							
							
								
								
							
							
						 
							
						
							
								AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 
								  
					 
				 
			
		 
	
		
			 
			
				CVE Modified by CVE  11/21/2024 1:23:20 AM  
			
				 
					
						Action 
						Type 
						Old Value 
						New Value 
					 
				 
				
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://access.redhat.com/security/cve/CVE-2021-3998 
								  
					 
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://bugzilla.redhat.com/show_bug.cgi?id=2024633 
								  
					 
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://security-tracker.debian.org/tracker/CVE-2021-3998 
								  
					 
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://security.netapp.com/advisory/ntap-20221020-0003/ 
								  
					 
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://sourceware.org/bugzilla/show_bug.cgi?id=28770 
								  
					 
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=84d2d0fe20bdf94feed82b21b4d7d136db471f03 
								  
					 
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=ee8d5e33adb284601c00c94687bc907e10aec9bb 
								  
					 
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://www.openwall.com/lists/oss-security/2022/01/24/4 
								  
					 
				 
			
		 
	
		
			 
			
				CVE Modified by Red Hat, Inc.  5/14/2024 5:26:15 AM  
			
				 
					
						Action 
						Type 
						Old Value 
						New Value 
					 
				 
				
					
				 
			
		 
	
		
			 
			
				CVE Modified by Red Hat, Inc.  2/12/2023 6:43:11 PM  
			
				 
					
						Action 
						Type 
						Old Value 
						New Value 
					 
				 
				
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=84d2d0fe20bdf94feed82b21b4d7d136db471f03 [No Types Assigned] 
								  
					 
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=ee8d5e33adb284601c00c94687bc907e10aec9bb [No Types Assigned] 
								  
					 
					
						Removed 
						Reference 
						
							
							
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=84d2d0fe20bdf94feed82b21b4d7d136db471f03 [Mailing List, Patch, Third Party Advisory] 
								  
							
						
								
								
						 
					 
					
						Removed 
						Reference 
						
							
							
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ee8d5e33adb284601c00c94687bc907e10aec9bb [Mailing List, Patch, Third Party Advisory] 
								  
							
						
								
								
						 
					 
				 
			
		 
	
		
			 
			
				Modified Analysis by NIST  11/07/2022 9:25:42 PM  
			
				 
					
						Action 
						Type 
						Old Value 
						New Value 
					 
				 
				
					
						Added 
						CPE Configuration 
						
							
							
								
								
							
							
						 
							
						
							
								AND
     OR
          *cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
     OR
          cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:* 
								  
					 
					
						Added 
						CPE Configuration 
						
							
							
								
								
							
							
						 
							
						
							
								AND
     OR
          *cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
     OR
          cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:* 
								  
					 
					
						Added 
						CPE Configuration 
						
							
							
								
								
							
							
						 
							
						
							
								AND
     OR
          *cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
     OR
          cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:* 
								  
					 
					
						Added 
						CPE Configuration 
						
							
							
								
								
							
							
						 
							
						
							
								AND
     OR
          *cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
     OR
          cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:* 
								  
					 
					
						Added 
						CPE Configuration 
						
							
							
								
								
							
							
						 
							
						
							
								AND
     OR
          *cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
     OR
          cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:* 
								  
					 
					
						Added 
						CPE Configuration 
						
							
							
								
								
							
							
						 
							
						
							
								OR
     *cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* 
								  
					 
					
						Changed 
						Reference Type 
						
							
							
							
								https://security.netapp.com/advisory/ntap-20221020-0003/ No Types Assigned 
								  
							
						
							
								https://security.netapp.com/advisory/ntap-20221020-0003/ Third Party Advisory 
								  
					 
				 
			
		 
	
		
			 
			
				CVE Modified by Red Hat, Inc.  10/20/2022 6:15:10 PM  
			
				 
					
						Action 
						Type 
						Old Value 
						New Value 
					 
				 
				
					
						Added 
						Reference 
						
							
							
								
								
							
							
						 
							
						
							
								https://security.netapp.com/advisory/ntap-20221020-0003/ [No Types Assigned] 
								  
					 
				 
			
		 
	
		
			 
			
				Reanalysis by NIST  9/02/2022 12:14:42 PM  
			
				 
					
						Action 
						Type 
						Old Value 
						New Value 
					 
				 
				
					
						Changed 
						CPE Configuration 
						
							
							
							
								OR
     *cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* versions from (including) 2.33 
								  
							
						
							
								OR
     *cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* versions from (including) 2.33 up to (excluding) 2.35 
								  
					 
				 
			
		 
	
		
			 
			
				Initial Analysis by NIST  8/29/2022 11:23:11 AM  
			
				 
					
						Action 
						Type 
						Old Value 
						New Value 
					 
				 
				
					
						Added 
						CVSS V3.1 
						
							
							
								
								
							
							
						 
							
						
							
								NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 
								  
					 
					
						Added 
						CWE 
						
							
							
								
								
							
							
						 
							
						
							
								NIST CWE-252 
								  
					 
					
						Added 
						CPE Configuration 
						
							
							
								
								
							
							
						 
							
						
							
								OR
     *cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* versions from (including) 2.33 
								  
					 
					
						Changed 
						Reference Type 
						
							
							
							
								https://access.redhat.com/security/cve/CVE-2021-3998 No Types Assigned 
								  
							
						
							
								https://access.redhat.com/security/cve/CVE-2021-3998 Third Party Advisory 
								  
					 
					
						Changed 
						Reference Type 
						
							
							
							
								https://bugzilla.redhat.com/show_bug.cgi?id=2024633 No Types Assigned 
								  
							
						
							
								https://bugzilla.redhat.com/show_bug.cgi?id=2024633 Issue Tracking, Patch, Third Party Advisory 
								  
					 
					
						Changed 
						Reference Type 
						
							
							
							
								https://security-tracker.debian.org/tracker/CVE-2021-3998 No Types Assigned 
								  
							
						
							
								https://security-tracker.debian.org/tracker/CVE-2021-3998 Third Party Advisory 
								  
					 
					
						Changed 
						Reference Type 
						
							
							
							
								https://sourceware.org/bugzilla/show_bug.cgi?id=28770 No Types Assigned 
								  
							
						
							
								https://sourceware.org/bugzilla/show_bug.cgi?id=28770 Issue Tracking, Patch, Third Party Advisory 
								  
					 
					
						Changed 
						Reference Type 
						
							
							
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=84d2d0fe20bdf94feed82b21b4d7d136db471f03 No Types Assigned 
								  
							
						
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=84d2d0fe20bdf94feed82b21b4d7d136db471f03 Mailing List, Patch, Third Party Advisory 
								  
					 
					
						Changed 
						Reference Type 
						
							
							
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ee8d5e33adb284601c00c94687bc907e10aec9bb No Types Assigned 
								  
							
						
							
								https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ee8d5e33adb284601c00c94687bc907e10aec9bb Mailing List, Patch, Third Party Advisory 
								  
					 
					
						Changed 
						Reference Type 
						
							
							
							
								https://www.openwall.com/lists/oss-security/2022/01/24/4 No Types Assigned 
								  
							
						
							
								https://www.openwall.com/lists/oss-security/2022/01/24/4 Mailing List, Patch, Third Party Advisory 
								  
					 
				 
			
		  
	 
                                 
                             
                         
                        
                            
                                Quick Info 
                                CVE Dictionary Entry:  CVE-2021-3998  NVD
                                Published Date:  08/24/2022  NVD
                                Last Modified:  06/09/2025  
                                Source:  Red Hat, Inc.