A degree is not a matter for ethical hacking but to become an Ethical hacker in computer firms you need a degree for that. To become an ethical hacker, there are a lot of resources and online hacking courses. A degree can never be an obstacle for a technology-loving person. If you are enthusiastic to learn new things and technology-loving person, you could do everything in this field.
Fortunately, Computer science is a field where you can do experiments and learn the things if you are hardworking and dedicated to your goal.
If you are interested to become an ethical hacker, check out this Ethical Hacking Training Course by Intellipaat.
Also, you can watch this video for more information: