mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	The problem was that UNINSTALL PLUGIN wasn't performing privilege checks before removing a plugin. Any user (including users without any kind of privileges) could uninstall any plugin. The solution is to verify if the user has the DELETE privilege for the mysql.plugin table before uninstalling a plugin.
		
			
				
	
	
		
			2 lines
		
	
	
		
			20 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			2 lines
		
	
	
		
			20 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| $EXAMPLE_PLUGIN_OPT
 |