While a legal connection, I agree with the other posts that this is NOT a good option.
International flights board 45 minutes prior to departure (vs domestic that board 30 minutes prior).
The walk from G to H/K (and international tends to be end of K many times or even L) is LONG LONG.
With the only ORD-CDG trip the one you are on, if your inbound runs late, there aint no backup.
Kill the extra time in ORD and enjoy the trip instead of worrying about it.
As a 4+MM EXP who connects thru ORD most of the time (or DFW) I WOULD NOT take this short connection.