patch vulnerabilities
This commit is contained in:
		
							parent
							
								
									c093b6b088
								
							
						
					
					
						commit
						8ced0efcba
					
				| @ -198,12 +198,13 @@ impl VerifyResult { | |||||||
| 
 | 
 | ||||||
|     pub fn is_negligible(&self) -> bool { |     pub fn is_negligible(&self) -> bool { | ||||||
|         match self { |         match self { | ||||||
|  |             // We are not allowing ConfigNeeded, OutOfDate, OutOfDateConfigNeeded,
 | ||||||
|  |             // ConfigAndSwHardeningNeeded since they are considered vulnerable
 | ||||||
|  |             // However, SwHardeningNeeded is very difficult to patch and can be
 | ||||||
|  |             // avoided on some platforms by running the latest SGX drivers
 | ||||||
|  |             // https://www.intel.com/content/www/us/en/developer/topic-technology/software-security-guidance/processors-affected-consolidated-product-cpu-model.html
 | ||||||
|             VerifyResult::Ok => true, |             VerifyResult::Ok => true, | ||||||
|             VerifyResult::ConfigNeeded => true, |  | ||||||
|             VerifyResult::OutOfDate => true, |  | ||||||
|             VerifyResult::OutOfDateConfigNeeded => true, |  | ||||||
|             VerifyResult::SwHardeningNeeded => true, |             VerifyResult::SwHardeningNeeded => true, | ||||||
|             VerifyResult::ConfigAndSwHardeningNeeded => true, |  | ||||||
|             _ => false, |             _ => false, | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user