"Firstly you can put a condition in the license that states that use of the open source component in any commercial application is at the company's own risk, and that the authors of the component do not accept any responsibility for legal problems that this might cause the company."
Something along these lines is fairly standard.